Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #546 from silvin-lubecki/fix-credential-set-err-me…
Browse files Browse the repository at this point in the history
…ssage

Fix credential set error
  • Loading branch information
silvin-lubecki committed Jun 11, 2019
2 parents e255854 + d2f1fce commit b4a31d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/commands/cnab.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ func addNamedCredentialSets(credStore appstore.CredentialStore, namedCredentials
c, err = credentials.Load(file)
} else {
c, err = credStore.Read(file)
if os.IsNotExist(err) {
err = e
}
}
if err != nil {
return err
Expand Down

0 comments on commit b4a31d1

Please sign in to comment.