diff options
author | Alexander Early <alexander.early@gmail.com> | 2016-02-27 15:02:03 -0800 |
---|---|---|
committer | Alexander Early <alexander.early@gmail.com> | 2016-02-27 15:02:03 -0800 |
commit | 53c3c4947fd2fd9a5e771dc90b491d941d9ebbe0 (patch) | |
tree | 15aab1787669a27eb1ac13dde695887924742d5e /README.md | |
parent | 9333133af2b1b7cc01c0c20500a404408517fdae (diff) | |
download | async-53c3c4947fd2fd9a5e771dc90b491d941d9ebbe0.tar.gz |
re-fix readmepredicate-standardization
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ async.map(['file1','file2','file3'], fs.stat, function(err, results){ async.filter(['file1','file2','file3'], function(filePath, callback) { fs.access(filePath, function(err) { - callback(!err) + callback(null, !err) }); }, function(results){ // results now equals an array of the existing files @@ -417,7 +417,7 @@ __Example__ ```js async.filter(['file1','file2','file3'], function(filePath, callback) { fs.access(filePath, function(err) { - callback(!err) + callback(null, !err) }); }, function(results){ // results now equals an array of the existing files |