From a4e2e62c6d04e7cf7703e95618859d756c6c7d27 Mon Sep 17 00:00:00 2001 From: Garrett Ladley <92384606+garrettladley@users.noreply.github.com> Date: Sat, 17 Feb 2024 15:26:15 -0500 Subject: [PATCH] Fix CI: Backend Tests .env File Pathing (#220) --- backend/src/config/local.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/config/local.go b/backend/src/config/local.go index 8b3ef1f67..4ee4101b9 100644 --- a/backend/src/config/local.go +++ b/backend/src/config/local.go @@ -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()