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

Honor some editor env vars before falling back to notepad on Windows #480

Merged
merged 2 commits into from
Aug 19, 2022

Conversation

jsoref
Copy link
Contributor

@jsoref jsoref commented Aug 18, 2022

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

If a Windows user has set GIT_EDITOR, VISUAL, or EDITOR, and they use auth0 w/ some task that triggers an editor, their preferred editor will be opened.

References

closes #454
cli/cli#6102

Testing

I have not tested this change.

  • 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 the default branch

Instead of unconditionally using notepad

Signed-off-by: Josh Soref <[email protected]>
@jsoref jsoref requested a review from a team as a code owner August 18, 2022 22:22
Copy link
Contributor

@sergiught sergiught left a comment

Choose a reason for hiding this comment

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

Sensible change, thanks @jsoref! 🥳

@sergiught sergiught merged commit 369bdb6 into auth0:main Aug 19, 2022
@jsoref jsoref deleted the issue-454 branch August 19, 2022 16:51
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.

Change default editor on windows
2 participants