Skip to content

Commit

Permalink
fix: .env logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Aur0ra-m committed Jul 5, 2023
1 parent 9167f76 commit 563cb11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func loadConfig(configPath string) {
if configPath == "" {
// using file .env
_, err := os.Stat("./.env")
if err != nil {
if err == nil {
configPath = "./config/config.dev.yaml"
} else {
configPath = "./config/config.release.yaml"
Expand Down

0 comments on commit 563cb11

Please sign in to comment.