Skip to content

Commit

Permalink
[Jasoet] Add current directory as config path
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoet committed Sep 25, 2019
1 parent bd9bb20 commit 8bc6d05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/app/service/infra/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ func load() ProctorConfig {
fang.SetConfigName("config")
fang.AddConfigPath("$HOME/.proctor")
fang.AddConfigPath(value)
fang.AddConfigPath(".")
err := fang.ReadInConfig()
if err != nil {
panic(fmt.Errorf("Fatal error config file: %s \n", err))
Expand Down

0 comments on commit 8bc6d05

Please sign in to comment.