Skip to content

Commit

Permalink
Add known issues doc URL to error message (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket authored Apr 2, 2021
1 parent 93851d0 commit d13ce0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions internal/cli/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ var (
Name: "None",
LongForm: "none",
ShortForm: "n",
Help: "Specify none of your apps",
Help: "Specify none of your apps.",
}

appType = Flag{
Name: "Type",
LongForm: "type",
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func RunLogin(ctx context.Context, cli *cli, expired bool) error {
err = secretsStore.Set(auth.SecretsNamespace, res.Tenant, res.RefreshToken)
if err != nil {
// log the error but move on
cli.renderer.Warnf("Could not store the refresh token locally, please expect to login again once your access token expired: %s.", err.Error())
cli.renderer.Warnf("Could not store the refresh token locally, please expect to login again once your access token expired. See https://github.com/auth0/auth0-cli/blob/main/KNOWN-ISSUES.md.")
}

err = cli.addTenant(tenant{
Expand Down

0 comments on commit d13ce0d

Please sign in to comment.