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

CLI login: don't print success message unless actually logged in #10

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

chriso
Copy link
Contributor

@chriso chriso commented Apr 16, 2024

If you quit the login flow, or don't actually login in your browser, the CLI still prints a message saying authentication was successful and that the configuration file was written.

This PR changes it so that this information is only printed if you're actually logged in and a configuration was actually written.

@chriso chriso self-assigned this Apr 16, 2024
@chriso chriso merged commit d5b3dc5 into main Apr 16, 2024
2 checks passed
@chriso chriso deleted the tweak-login-flow branch April 16, 2024 03:41
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.

2 participants