Skip to content

Commit

Permalink
fixed error with too many open files on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
joeferner committed May 16, 2012
1 parent b62a51d commit 3938095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli.js
Expand Up @@ -24,7 +24,7 @@ function readAllFiles(filename, callback) {
filenames = filenames.filter(function (fname) { return !(/^\..*$/.test(fname)); });
filenames = filenames.map(function (fname) { return path.join(filename, fname); });
var results = [];
async.forEach(
async.forEachSeries(
filenames,
function (filename, callback) {
readAllFiles(filename, function (err, datas) {
Expand Down

0 comments on commit 3938095

Please sign in to comment.