Skip to content

Fix typo in an error message#2505

Merged
mislav merged 1 commit intocli:trunkfrom
nilsvu:patch-1
Dec 1, 2020
Merged

Fix typo in an error message#2505
mislav merged 1 commit intocli:trunkfrom
nilsvu:patch-1

Conversation

@nilsvu
Copy link
Copy Markdown
Contributor

@nilsvu nilsvu commented Nov 29, 2020

Just a minor typo :)

Copy link
Copy Markdown
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Good catch.

cmd/gh/main.go Outdated
fmt.Fprintln(stderr)
fmt.Fprintln(stderr, "To authenticate, please run `gh auth login`.")
fmt.Fprintln(stderr, "You can also set the one of the auth token environment variables, if preferred.")
fmt.Fprintln(stderr, "You can also set one of the auth token environment variables, if preferred.")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've missed this in my review of #2388, but I think that this line isn't very useful anymore. It used to give a more specific advice to set GITHUB_TOKEN.

@samcoe: do you agree that we should maybe take the whole line out? If users want to learn about our environment variable support, they can read so in our docs.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed a fixup commit that deletes the line. Please confirm, then I'll squash the commits.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, I agree, this line is not very useful anymore. I am on board with removing it completely.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done :)

Copy link
Copy Markdown
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@mislav mislav merged commit d74086d into cli:trunk Dec 1, 2020
@nilsvu nilsvu deleted the patch-1 branch December 1, 2020 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants