Skip to content

Commit

Permalink
No support for node < v0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
yaniswang committed Oct 8, 2015
1 parent 6a9b06c commit 03fb745
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/htmlhint
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ program

if(program.list){
listRules();
quit(0);
process.exit(0);
}

var arrAllFiles = getAllFiles(program.args);
Expand All @@ -51,7 +51,7 @@ if(ruleset === undefined){

var jsonOutput = program.json && [];

quit(processFiles(arrAllFiles, ruleset, jsonOutput));
processFiles(arrAllFiles, ruleset, jsonOutput);

function listRules(){
var rules = HTMLHint.rules;
Expand Down Expand Up @@ -151,7 +151,7 @@ function processFiles(arrFiles, ruleset, jsonOutput){
console.log('Done, without errors.'.green);
}
}
return exitcode;
process.exit(exitcode);
}

function hintFile(filepath, ruleset, jsonOutput){
Expand Down

0 comments on commit 03fb745

Please sign in to comment.