sindresorhus / p-limit

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

this code is wrong #44

Closed linger0239 closed 3 years ago

linger0239 commented 3 years ago

The try catch code on lines 28 to 31 is wrong,it should be try {await result;} catch(e) {} Now, when i build my project, this wrong broken the process

linger0239 commented 3 years ago

this wrong in index.js

sindresorhus commented 3 years ago

Duplicate of #33