Skip to content

Commit

Permalink
- added config path
Browse files Browse the repository at this point in the history
  • Loading branch information
maZahaca committed Oct 17, 2021
1 parent 0ea65c7 commit e2ab5e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func init() {
viper.SetConfigName("config")
viper.SetConfigType("yaml")
viper.AddConfigPath("$HOME/.toggl-sync")
viper.AddConfigPath("./config")
viper.AddConfigPath(".")
err := viper.ReadInConfig()
if err != nil {
Expand Down

0 comments on commit e2ab5e5

Please sign in to comment.