Skip to content

Commit

Permalink
Merge pull request #9 from Code0x58/allow-empty-secret
Browse files Browse the repository at this point in the history
Allow empty string secrets
  • Loading branch information
cplee authored Jan 17, 2019
2 parents c573d9d + dcd235b commit 949dc46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 949dc46

Please sign in to comment.