Skip to content

Commit

Permalink
fix mapValues example. Closes #1233
Browse files Browse the repository at this point in the history
  • Loading branch information
aearly committed Jul 12, 2016
1 parent f943a28 commit d31dc8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/mapValues.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ import doLimit from './internal/doLimit';
* f1: 'file1',
* f2: 'file2',
* f3: 'file3'
* }, fs.stat, function(err, result) {
* }, function (file, key, callback) {
* fs.stat(file, callback);
* }, function(err, result) {
* // results is now a map of stats for each file, e.g.
* // {
* // f1: [stats for file1],
Expand Down

0 comments on commit d31dc8e

Please sign in to comment.