Avoid lint
This commit is contained in:
parent
2374711d63
commit
6a4b412cd3
2
app.js
2
app.js
@ -8,12 +8,12 @@ var semver = require('semver');
|
||||
var ver = process.versions.node;
|
||||
ver = ver.split('-')[0]; // explode and truncate tag from version
|
||||
|
||||
// jshint undef:false
|
||||
if (!semver.satisfies(ver, '>6.9.0')) {
|
||||
console.log('Node version ' + ver + ' is not supported, please use Node.js 6.9 or higher.');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
// jshint undef:false
|
||||
var log = console.log.bind(console);
|
||||
var logError = console.error.bind(console);
|
||||
// jshint undef:true
|
||||
|
Loading…
Reference in New Issue
Block a user