chore(*): format

Signed-off-by: storyicon <yuanchao@bilibili.com>
This commit is contained in:
storyicon 2021-07-22 00:58:28 +08:00
parent 3bc2cede39
commit dc1e825e2b
No known key found for this signature in database
GPG key ID: 245915D985F966CF
16 changed files with 233 additions and 24 deletions

View file

@ -290,7 +290,7 @@ func StepPostShell(ctx context.Context,
// Compile is used to compile proto files
func Compile(ctx context.Context, targets []string) error {
log := logger.NewDefault("compile")
log.SetLogLevel(logger.LevelError)
log.SetLogLevel(logger.LevelInfo)
if consts.IsDebugMode(ctx) {
log.SetLogLevel(logger.LevelDebug)
}

View file

@ -31,7 +31,7 @@ import (
// StepTidyConfig is used to tidy configs by proto file targets
func StepTidyConfig(ctx context.Context, targets []string) error {
log := logger.NewDefault("tidy")
log.SetLogLevel(logger.LevelError)
log.SetLogLevel(logger.LevelInfo)
if consts.IsDebugMode(ctx) {
log.SetLogLevel(logger.LevelDebug)
}
@ -72,7 +72,7 @@ func StepTidyConfig(ctx context.Context, targets []string) error {
return nil
}
// StepTidyConfig is used clean config
// StepTidyConfigFile is used clean config
// It will amend the 'latest' version to the latest version number in 'vx.y.z' format
func StepTidyConfigFile(ctx context.Context,
pluginManager pluginmanager.PluginManager,