refactor: converted more fmt.Printf to log.*
This commit is contained in:
parent
31d14bcc53
commit
0569c33633
1 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ var generateCmd = &cobra.Command{
|
||||||
} else {
|
} else {
|
||||||
// TODO: try and fetch token first if it is needed
|
// TODO: try and fetch token first if it is needed
|
||||||
if verbose {
|
if verbose {
|
||||||
fmt.Printf("No token found. Attempting to generate conf without one...\n")
|
log.Warn().Msg("No token found. Attempting to generate conf without one...\n")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -61,7 +61,7 @@ var generateCmd = &cobra.Command{
|
||||||
RunTargets(&conf, args, targets...)
|
RunTargets(&conf, args, targets...)
|
||||||
} else {
|
} else {
|
||||||
if pluginPath == "" {
|
if pluginPath == "" {
|
||||||
fmt.Printf("no plugin path specified")
|
log.Error().Msg("no plugin path specified")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue