File tree 4 files changed +21
-1
lines changed
4 files changed +21
-1
lines changed Original file line number Diff line number Diff line change
1
+ language : node_js
2
+ node_js :
3
+ - 0.8
Original file line number Diff line number Diff line change @@ -994,7 +994,7 @@ target.jshint = function() {
994
994
//'extensions/chrome/*.js'
995
995
];
996
996
997
- exec ('jshint --reporter test/reporter.js ' + LINT_FILES .join (' ' ));
997
+ exit ( exec ('./node_modules/.bin/ jshint --reporter test/reporter.js ' + LINT_FILES .join (' ' )). code );
998
998
};
999
999
1000
1000
//
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " pdf.js" ,
3
+ "version" : " 0.7.169" ,
4
+ "dependencies" : {
5
+ "jshint" : " git://github.com/jshint/jshint.git#42ace75a"
6
+ },
7
+ "scripts" : {
8
+ "test" : " node make jshint"
9
+ },
10
+ "repository" : {
11
+ "type" : " git" ,
12
+ "url" : " git://github.com/mozilla/pdf.js.git"
13
+ }
14
+ }
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ module.exports = {
23
23
if ( str ) {
24
24
process . stdout . write ( str + "\n" + len + " error" +
25
25
( ( len === 1 ) ? "" : "s" ) + "\n" ) ;
26
+ process . exit ( 2 ) ;
27
+ } else {
28
+ process . exit ( 0 ) ;
26
29
}
27
30
}
28
31
} ;
You can’t perform that action at this time.
0 commit comments