diff options
author | Alex Early <alexander.early@gmail.com> | 2016-03-21 13:53:12 -0700 |
---|---|---|
committer | Alex Early <alexander.early@gmail.com> | 2016-03-21 13:53:12 -0700 |
commit | 78ef062f176dbe7dc89c72f6c21e4a7f074009f3 (patch) | |
tree | 33da25c97d0c70137ec7b5811b341d4045a64635 | |
parent | fa85fcaf02e0689876159465e0490901d03b9bdc (diff) | |
parent | 4d1c8ae664e1ad5ab15da0fab7ec18765f984b89 (diff) | |
download | async-78ef062f176dbe7dc89c72f6c21e4a7f074009f3.tar.gz |
Merge pull request #1073 from dhritzkiv/patch-1
Update README.md
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ async.filter(['file1','file2','file3'], function(filePath, callback) { fs.access(filePath, function(err) { callback(null, !err) }); -}, function(results){ +}, function(err, results){ // results now equals an array of the existing files }); @@ -450,7 +450,7 @@ async.filter(['file1','file2','file3'], function(filePath, callback) { fs.access(filePath, function(err) { callback(null, !err) }); -}, function(results){ +}, function(err, results){ // results now equals an array of the existing files }); ``` |