chore(lint): should be written without leading space
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
a35fc9fbd2
commit
a493ed67ba
|
@ -10,7 +10,7 @@ import (
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
|
||||||
// nolint
|
//nolint
|
||||||
var defaultConf = []byte(`
|
var defaultConf = []byte(`
|
||||||
core:
|
core:
|
||||||
enabled: true # enable httpd server
|
enabled: true # enable httpd server
|
||||||
|
|
|
@ -33,7 +33,7 @@ type LogPushEntry struct {
|
||||||
|
|
||||||
var isTerm bool
|
var isTerm bool
|
||||||
|
|
||||||
// nolint
|
//nolint
|
||||||
func init() {
|
func init() {
|
||||||
isTerm = isatty.IsTerminal(os.Stdout.Fd())
|
isTerm = isatty.IsTerminal(os.Stdout.Fd())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue