chore(lint): should be written without leading space

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi.Wu 2023-02-21 11:16:04 +08:00
parent a35fc9fbd2
commit a493ed67ba
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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())
} }