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

Move configs to the top of the pre-run method #283

Merged
merged 4 commits into from
May 12, 2021
Merged

Conversation

Widcket
Copy link
Contributor

@Widcket Widcket commented May 5, 2021

Description

This PR moves some global config operations to the top of the root pre-run method, as there are (and could be more in the future) commands that could be allowed to run without being logged in, and would need the proper configurations to be in place. Currently, these are at the bottom, and will not run for commands that do not require authentication, because the pre-run method will return early.

Testing

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not master

@Widcket Widcket requested a review from a team May 5, 2021 23:55
@Widcket Widcket merged commit 5aa2dc4 into main May 12, 2021
@Widcket Widcket deleted the pre-run-operations branch May 12, 2021 19:38
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