Skip to content

Commit 7e3db28

Browse files
committed
fixed node v8 test
1 parent 05dd175 commit 7e3db28

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/integrations/eslint-plugin-import.js

+5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111

1212
const cp = require('child_process')
1313
const path = require('path')
14+
const semver = require('semver')
15+
16+
if (!semver.satisfies(process.version, require('eslint/package.json').engines.node)) {
17+
return
18+
}
1419

1520
// -----------------------------------------------------------------------------
1621
// Tests

0 commit comments

Comments
 (0)