Skip to content

Commit a58d36a

Browse files
authored
fix: cwd log should not be mandatory (#5)
1 parent 10edc5e commit a58d36a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func initConfig() {
174174

175175
// Get current directory config
176176
viper.AddConfigPath(".")
177-
cobra.CheckErr(viper.MergeInConfig())
177+
_ = viper.MergeInConfig() // if no config is found we don't care
178178

179179
// Config file from the flag.
180180
if cfgFile != "" {

0 commit comments

Comments
 (0)