Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed: only regular files for now

  • Loading branch information...
commit 952613139ed66849a6966c85aeb6f0be853821f6 1 parent 5363cc2
@tj authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/search
View
2  bin/search
@@ -55,7 +55,7 @@ function search(path) {
return join(path, file);
}).forEach(search);
});
- } else {
+ } else if (stat.isFile()) {
var lines = [];
fs.readFile(path, 'utf8', function(err, str){
if (err) throw err;
Please sign in to comment.
Something went wrong with that request. Please try again.