Skip to content

Commit

Permalink
chore: update min node version to 8.3.0 and remove node v6 from travi…
Browse files Browse the repository at this point in the history
…s build
  • Loading branch information
Kakhaber Urigashvili committed Feb 13, 2020
2 parents 87516db + 25c165d commit 4bb0fe8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ language: node_js

node_js:
- node
- "6.4"
- "8"
- "10"

Expand Down
4 changes: 2 additions & 2 deletions bin/askx.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env node
/* eslint-disable global-require */

if (!require('semver').gte(process.version, '6.4.0')) {
if (!require('semver').gte(process.version, '8.3.0')) {
console.log('Version of node.js doesn\'t meet minimum requirement.');
console.log('Please ensure system has node.js version 6.4.0 or higher.');
console.log('Please ensure system has node.js version 8.3.0 or higher.');
process.exit(1);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"askx": "bin/askx.js"
},
"engines": {
"node": ">=6.4.0"
"node": ">=8.3.0"
},
"license": "Apache 2.0",
"repository": "alexa-labs/ask-cli",
Expand Down

0 comments on commit 4bb0fe8

Please sign in to comment.