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

chore: more efficient API key load #463

Merged
merged 5 commits into from
Apr 26, 2021

Conversation

EverlastingBugstopper
Copy link
Contributor

This PR does not change the behavior of any of Rover's command surface, it just makes loading API keys a bit more efficient.

Rather than calling Profile::list every time we want to load a single profile just so we can have a better error message, let's do the minimal amount of work to find out if no profiles have yet to be created.

@EverlastingBugstopper EverlastingBugstopper force-pushed the avery/refactor-profile-load branch from 605506c to 210d4e6 Compare April 21, 2021 16:54
@EverlastingBugstopper EverlastingBugstopper merged commit 1f9d618 into main Apr 26, 2021
@EverlastingBugstopper EverlastingBugstopper deleted the avery/refactor-profile-load branch April 26, 2021 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants