Avoid lint

This commit is contained in:
Daniel García Aubert 2017-03-27 18:27:55 +02:00
parent 2374711d63
commit 6a4b412cd3

2
app.js
View File

@ -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