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.
2 parents 2ec2115 + e799a1f commit c66919bCopy full SHA for c66919b
cmd/exec.go
@@ -63,6 +63,7 @@ func execRun(cmd *cobra.Command, args []string) error {
63
}
64
for _, secret := range secrets {
65
envVarKey := strings.ToUpper(key(secret.Meta.Key))
66
+ envVarKey = strings.Replace(envVarKey, "-", "_", -1)
67
68
if env.IsSet(envVarKey) {
69
fmt.Fprintf(os.Stderr, "warning: overwriting environment variable %s\n", envVarKey)
0 commit comments