Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Fix Node version check and error #446

Merged
merged 1 commit into from
Mar 21, 2018

Conversation

t-kelly
Copy link
Contributor

@t-kelly t-kelly commented Mar 20, 2018

Previously, the JS file that checked what version of Node was running was using JS language features available only in Node 6+. This caused a runtime error when the file was run in Node <6.

Switch out Node 6+ features for equivalent legacy alternatives so the Node version warning can be displayed. Disable ESLint so that Prettier does not apply ES6 formatting.

- Previously, the JS file that checked what version of Node was running was using JS language features available only in Node 6+.
@t-kelly t-kelly self-assigned this Mar 20, 2018
@t-kelly t-kelly requested a review from NathanPJF March 20, 2018 13:20
@t-kelly t-kelly merged commit ae00874 into create-slate-theme-https Mar 21, 2018
@t-kelly t-kelly deleted the fix-node-version-warning branch March 21, 2018 14:03
@NathanPJF
Copy link
Contributor

Thanks @t-kelly - sorry I was slow on the review 😅

@lock
Copy link

lock bot commented Oct 26, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants