We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 074079e commit 9ce71eeCopy full SHA for 9ce71ee
pkg/config/config.go
@@ -871,7 +871,7 @@ func loadNestedEnv(basePath string) error {
871
if !filepath.IsAbs(basePath) {
872
basePath = filepath.Join(repoDir, basePath)
873
}
874
- env := viper.GetString("ENV")
+ env := os.Getenv("SUPABASE_ENV")
875
for cwd := basePath; cwd != filepath.Dir(repoDir); cwd = filepath.Dir(cwd) {
876
if err := os.Chdir(cwd); err != nil && !errors.Is(err, os.ErrNotExist) {
877
return errors.Errorf("failed to change directory: %w", err)
0 commit comments