Skip to content

Commit

Permalink
Add newline to No config file present, using default values. (#2021)
Browse files Browse the repository at this point in the history
The newline was missing which was messing with the output.
  • Loading branch information
JAORMX authored Dec 22, 2023
1 parent f55b1d0 commit ace9a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cli/app/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func initConfig() {
if err := viper.ReadInConfig(); err != nil {
if _, ok := err.(viper.ConfigFileNotFoundError); ok {
// Config file not found; use default values
RootCmd.PrintErr("No config file present, using default values.")
RootCmd.PrintErrln("No config file present, using default values.")
} else {
// Some other error occurred
RootCmd.Printf("Error reading config file: %s", err)
Expand Down

0 comments on commit ace9a8e

Please sign in to comment.