Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Closes GH-3 typo

  • Loading branch information...
commit 5846d8ebb88b5bc5870405174cf995e8d42f4237 1 parent 43c5545
Isaac Z. Schlueter authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/async-map.js
2  lib/async-map.js
@@ -5,7 +5,7 @@ function asyncMap (list, fn, cb_) {
5 5 , errState = null
6 6 function cb (er, data) {
7 7 if (errState) return
8   - if (er) return cb(errState = er)
  8 + if (er) return cb_(errState = er)
9 9 results.push(data)
10 10 if (-- n === 0)
11 11 return cb_(null, results)

3 comments on commit 5846d8e

Michael Kurze
x1B commented on 5846d8e

Mind pushing this to npm? The 1.1.0 I dled still has this error. Thanks!

Isaac Z. Schlueter
Owner

just bumped to 1.1.1 and published.

Michael Kurze
x1B commented on 5846d8e

Thanks for the quick response, Isaac! My code works now.

Please sign in to comment.
Something went wrong with that request. Please try again.