mirror of
https://github.com/davidallendj/configurator.git
synced 2025-12-20 03:27:02 -07:00
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 {
|
||||
// TODO: try and fetch token first if it is needed
|
||||
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...)
|
||||
} else {
|
||||
if pluginPath == "" {
|
||||
fmt.Printf("no plugin path specified")
|
||||
log.Error().Msg("no plugin path specified")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue