Skip to content

Commit 9cae9c0

Browse files
juanjoDiazknownasilya
authored andcommitted
chore: Add node 10 to Travis (#306)
1 parent a36c8e3 commit 9cae9c0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: .travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ node_js:
66
- "7"
77
- "8"
88
- "9"
9+
- "10"
910
script:
1011
- "npm run lint"
1112
- "npm run test-with-coverage"

Diff for: test/CLI.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ module.exports = (testRunner, jsonFixtures, csvFixtures) => {
726726

727727
// Pretty print
728728
// TODO Fix this tests in Node < 8
729-
if (Number(process.versions.node[0]) < 8) return;
729+
if (parseFloat(process.versions.node) < 8) return;
730730

731731
testRunner.add('should print pretty table', (t) => {
732732
const opts = ' --pretty';

0 commit comments

Comments
 (0)