Skip to content

Commit

Permalink
Fix semver check
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthachatterjee committed Jan 8, 2020
1 parent d7b80cb commit f041c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if (!semver.satisfies(process.version, `>=${MIN_NODE_VERSION}`)) {

const NEXT_MIN_NODE_VERSION = `10.13.0`

if (!semver.satisfies(process.version, NEXT_MIN_NODE_VERSION)) {
if (!semver.satisfies(process.version, `>=${NEXT_MIN_NODE_VERSION}`)) {
report.warn(
report.stripIndent(`
Gatsby will be dropping support for Node.js ${process.version} soon
Expand Down

0 comments on commit f041c8d

Please sign in to comment.