Skip to content

Commit

Permalink
Drop support for Node 10.15 and older
Browse files Browse the repository at this point in the history
  • Loading branch information
zodern committed Oct 7, 2024
1 parent 004732f commit 1ad2af6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ var version = parseInt(versionParts[0], 10);
// eslint-disable-next-line no-var
var minorVersion = parseInt(versionParts[1], 10);

if (version < 8) {
if (version < 10 || (version === 10 && minorVersion < 16)) {
// eslint-disable-next-line
console.log('Meteor Up requires node 8 or newer. You are using ' + process.version);
console.log('Meteor Up requires node 10.16 or newer. You are using ' + process.version);
process.exit(1);
}

Expand Down

0 comments on commit 1ad2af6

Please sign in to comment.