Skip to content

Commit

Permalink
don't fail when env wasn't loaded in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
knoxfighter committed Nov 2, 2023
1 parent 8652ba9 commit 4f2293f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/mods_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func TestMain(m *testing.M) {

err = godotenv.Load("../.env")
if err != nil {
panic(err)
log.Println("WARN: wasn't able to load env: ", err)
}

// basic setup stuff
Expand Down

0 comments on commit 4f2293f

Please sign in to comment.