Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit d91d66f

Browse files
committed
Fix lint errors
1 parent 83f9ff5 commit d91d66f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

internals/secrethub/credential_store.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
package secrethub
22

33
import (
4-
"github.com/secrethub/secrethub-cli/internals/cli"
54
"time"
65

6+
"github.com/secrethub/secrethub-cli/internals/cli"
7+
78
"github.com/secrethub/secrethub-go/pkg/secrethub/configdir"
89
"github.com/secrethub/secrethub-go/pkg/secrethub/credentials"
910

@@ -78,9 +79,8 @@ func (store *credentialConfig) getCredentialReader() credentials.Reader {
7879
}
7980
if store.credentialFlag.HasEnvarValue() {
8081
return credentials.FromEnv("SECRETHUB_CREDENTIAL")
81-
} else {
82-
return credentials.FromString(store.AccountCredential)
8382
}
83+
return credentials.FromString(store.AccountCredential)
8484
}
8585

8686
// PassphraseReader returns a PassphraseReader configured by the flags.

0 commit comments

Comments
 (0)