Skip to content

Commit

Permalink
feat: Drop support for node 8
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Requires nodejs version 10 or newer.
  • Loading branch information
danez committed Jan 5, 2020
1 parent b3db8be commit 9fc4019
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: node_js
node_js:
- 8
- 10
- 12
- 13
Expand Down
2 changes: 1 addition & 1 deletion packages/spire/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async function spire({
if (Boolean(help) || Boolean(version)) {
return 0;
}
} catch (error) {
} catch {
// Intentionally do not report YError "Unknown argument" errors
return 1;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/spire/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"spire": "./bin/spire.js"
},
"engines": {
"node": ">=8.3"
"node": ">=10"
},
"scripts": {
"postinstall": "./bin/spire.js hook postinstall",
Expand Down

0 comments on commit 9fc4019

Please sign in to comment.