1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 09:38:06 +02:00

Use jshint v1.1

This commit is contained in:
Yury Delendik 2014-01-23 17:32:07 -06:00
parent 3c6ac0dad5
commit 17dfc7c700
2 changed files with 3 additions and 3 deletions

View file

@ -1134,7 +1134,7 @@ target.lint = function() {
var jshintPath = path.normalize('./node_modules/.bin/jshint');
if (!test('-f', jshintPath)) {
echo('jshint is not installed -- installing...');
exec('npm install jshint');
exec('npm install jshint@1.1'); // TODO read version from package.json
}
exit(exec('"' + jshintPath + '" --reporter test/reporter.js ' +