fix: favor command-line over files (#2274)

This impacts:
- envs
- inputs
- secrets
- vars
This commit is contained in:
Josh Soref
2024-04-10 17:49:39 -04:00
committed by GitHub
parent ac13a1b20d
commit 89e3c14649

View File

@@ -305,8 +305,10 @@ func readEnvs(path string, envs map[string]string) bool {
log.Fatalf("Error loading from %s: %v", path, err)
}
for k, v := range env {
if _, ok := envs[k]; !ok {
envs[k] = v
}
}
return true
}
return false