fix: corrected log message

This commit is contained in:
David Allen 2024-12-04 15:52:22 -07:00
parent 0569c33633
commit ebd5c46092
Signed by: towk
GPG key ID: 793B2924A49B3A3F

View file

@ -50,7 +50,7 @@ var generateCmd = &cobra.Command{
if verbose { if verbose {
b, err := json.MarshalIndent(conf, "", " ") b, err := json.MarshalIndent(conf, "", " ")
if err != nil { if err != nil {
log.Error().Err(err).Printf("failed to marshal config") log.Error().Err(err).Msg("failed to marshal config")
} }
// print the config file as JSON // print the config file as JSON
fmt.Printf("%v\n", string(b)) fmt.Printf("%v\n", string(b))