We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f159f95 commit 67841a9Copy full SHA for 67841a9
1 file changed
shell-local/run.go
@@ -206,6 +206,12 @@ func createFlattenedEnvVars(config *Config) (string, error) {
206
envVars[keyValue[0]] = strings.Replace(keyValue[1], "'", `'"'"'`, -1)
207
}
208
209
+ for k, v := range config.Env {
210
+ // Store pair, replacing any single quotes in value so they parse
211
+ // correctly with required environment variable format
212
+ envVars[k] = strings.Replace(v, "'", `'"'"'`, -1)
213
+ }
214
+
215
// Create a list of env var keys in sorted order
216
var keys []string
217
for k := range envVars {
0 commit comments