Allow empty string secrets
This commit is contained in:
parent
c573d9d48a
commit
dcd235bcda
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ func (action *actionDef) applyEnvironmentSecrets(env *[]string) {
|
|||
secretCache = make(map[string]string)
|
||||
}
|
||||
|
||||
if secretCache[secret] == "" {
|
||||
if _, ok := secretCache[secret]; !ok {
|
||||
fmt.Printf("Provide value for '%s': ", secret)
|
||||
val, err := gopass.GetPasswdMasked()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue