summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Early <alexander.early@gmail.com>2016-03-21 13:53:12 -0700
committerAlex Early <alexander.early@gmail.com>2016-03-21 13:53:12 -0700
commit78ef062f176dbe7dc89c72f6c21e4a7f074009f3 (patch)
tree33da25c97d0c70137ec7b5811b341d4045a64635
parentfa85fcaf02e0689876159465e0490901d03b9bdc (diff)
parent4d1c8ae664e1ad5ab15da0fab7ec18765f984b89 (diff)
downloadasync-78ef062f176dbe7dc89c72f6c21e4a7f074009f3.tar.gz
Merge pull request #1073 from dhritzkiv/patch-1
Update README.md
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 640b856..bfa20fc 100644
--- a/README.md
+++ b/README.md
@@ -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
});
```