Skip to content

Commit

Permalink
Fix CI: Backend Tests .env File Pathing (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettladley authored Feb 17, 2024
1 parent 65e6512 commit a4e2e62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/config/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ func readLocal(v *viper.Viper, path string) (*Settings, error) {
return nil, fmt.Errorf("failed to convert intermediate settings into final settings: %w", err)
}

err = godotenv.Load(fmt.Sprintf("%s/.example_backend_env", path))
err = godotenv.Load(fmt.Sprintf("%s/.env.template", path))
if err != nil {
return nil, fmt.Errorf("failed to load %s/.example_backend_env: %w", path, err)
return nil, fmt.Errorf("failed to load %s/.env.template: %w", path, err)
}

pineconeSettings, err := readPineconeSettings()
Expand Down

0 comments on commit a4e2e62

Please sign in to comment.