Skip to content

Commit

Permalink
Skip 1Password auth for upgrade command and config command; config co…
Browse files Browse the repository at this point in the history
…mmand is used for adding an Auth Token or API Key to local config file, or to check if config file (either local or 1Password-generated) are valid. To avoid complications with custom config files, it's best to skip 1Password auth for config subcommands
  • Loading branch information
arunsathiya committed Feb 14, 2023
1 parent 1e48311 commit b957d28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/ngrok/ngrok.go
Expand Up @@ -16,6 +16,8 @@ func ngrokCLI() schema.Executable {
needsauth.NotForHelpOrVersion(),
needsauth.NotWithoutArgs(),
needsauth.NotWhenContainsArgs("--config"),
needsauth.NotForExactArgs("config"),
needsauth.NotForExactArgs("update"),
),
Uses: []schema.CredentialUsage{
{
Expand Down

0 comments on commit b957d28

Please sign in to comment.