Skip to content

Commit

Permalink
do not require a global configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
KarnerTh committed Mar 14, 2022
1 parent 7076781 commit 89e4452
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,5 @@ func initConfig() {
viper.SetConfigName(".mermerd")
}

err := viper.ReadInConfig()
cobra.CheckErr(err)
_ = viper.ReadInConfig()
}

0 comments on commit 89e4452

Please sign in to comment.