Permalink
Browse files

throw ENOENT etc

  • Loading branch information...
1 parent 5a56afd commit 4d1b2ddb010d43b62712110b5b52c90aa9808f87 @tj committed Aug 15, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/stats
View
@@ -39,6 +39,7 @@ var paths = program.args;
var totals = {};
stats.find(paths, function(err, files){
+ if (err) throw err;
var pending = files.length;
files.forEach(function(file){
fs.readFile(file, 'utf8', function(err, str){

0 comments on commit 4d1b2dd

Please sign in to comment.