sindresorhus / p-limit

Run multiple promise-returning & async functions with limited concurrency
MIT License
1.97k stars 102 forks source link

catch err missing #53

Closed zoobot closed 3 years ago

zoobot commented 3 years ago

Hi Can I submit a pull request for the index.js?

There is a catch {} on line 29 of index.js that should be

catch(err) {
                        reject(err)
                }

I was unable to use p-limit on one of our servers without changing the node-module

sindresorhus commented 3 years ago

Duplicate #33