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

Ensure EDITOR is set before allowing edit in ember init #1090

Merged
merged 1 commit into from
Jun 20, 2014

Conversation

rondale-sc
Copy link
Contributor

No description provided.

@rwjblue
Copy link
Member

rwjblue commented Jun 20, 2014

LGTM, changelog entry please.

@stefanpenner
Copy link
Contributor

jshint is angry

@@ -46,6 +46,10 @@ FileInfo.prototype.confirmOverwrite = function(path) {
});
};

function canEdit() {
return ! /^win/.test(process.platform) && process.env.EDITOR !== undefined
Copy link
Member

Choose a reason for hiding this comment

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

Missing semicolon.

@rondale-sc
Copy link
Contributor Author

@stefanpenner Fixed. Silly mistake. I abstracted that function as a last minute thing, cause I didn't like the double conditinoal inside the if statement. :((

rwjblue added a commit that referenced this pull request Jun 20, 2014
Ensure EDITOR is set before allowing edit in ember init
@rwjblue rwjblue merged commit 30169ac into ember-cli:master Jun 20, 2014
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.

None yet

3 participants