Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide login text if there's a config file #162

Merged
merged 2 commits into from
Sep 14, 2019

Conversation

tomer-stripe
Copy link
Collaborator

Reviewers

r? @ob-stripe @brandur-stripe
cc @stripe/dev-platform

Summary

We don't need to render the login text all the time so hide this if there's a config file. We also have existing behavior that'll raise an error for users if they try to run a command that requires an API key but one isn't set.

Copy link

@brandur-stripe brandur-stripe left a comment

Choose a reason for hiding this comment

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

Great idea, and thanks for including tests! LGTM.

@tomer-stripe tomer-stripe merged commit 60c0c1c into master Sep 14, 2019
@tomer-stripe tomer-stripe deleted the tomer/hide-login-if-logged-in branch September 14, 2019 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants