Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

fix: check for editor in environment variables #748

Merged
merged 4 commits into from
Nov 25, 2019

Conversation

julien
Copy link
Contributor

@julien julien commented Nov 23, 2019

To determine which editor to use for commit messages
look if $EDITOR or $VISUAL are set in the environment
before checking the git config. If no editor is found
throw an error. Fixes #745

To determine which editor to use for commit messages
look if $EDITOR or $VISUAL are set in the environment
before checking the git config. If no editor is found
throw an error. Fixes node-gh#745
@protoEvangelion
Copy link
Member

Just started reviewing :)

@protoEvangelion
Copy link
Member

Hmm it's passing locally but not on CI. I'm looking into it now.

Copy link
Member

@protoEvangelion protoEvangelion left a comment

Choose a reason for hiding this comment

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

Thanks for taking the initiative on this 🎉 Just gotta clean up that double ternary and figure out why the test is failing.

src/utils.ts Outdated Show resolved Hide resolved
@protoEvangelion protoEvangelion merged commit 0094206 into node-gh:master Nov 25, 2019
@protoEvangelion
Copy link
Member

🎉 This PR is included in version 2.8.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to send pull requests (and peerDependencies errors)
2 participants