Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
fileIgnored(file, function (err, ignored) {
if (err) return cb(err);
if (ignored) return cb(null, file);
file.jshint = file.jshint || {};
file.jshint.extracted = jshintcli.extract(file.contents.toString('utf8'), when);
return cb(null, file);
});
});
fileIgnored(file, function (err, ignored) {
if (err) return cb(err);
if (ignored) return cb(null, file);
file.jshint = file.jshint || {};
file.jshint.extracted = jshintcli.extract(file.contents.toString('utf8'), when);
return cb(null, file);
});
});