sindresorhus / p-limit

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

Update index.js #40

Closed yanuareko closed 4 years ago

yanuareko commented 4 years ago

fix missing variable error in try catch

sindresorhus commented 4 years ago

https://github.com/sindresorhus/p-limit/issues/39#issuecomment-674003190