jakearchibald / svgomg

Web GUI for SVGO
https://jakearchibald.github.io/svgomg/
MIT License
5.76k stars 476 forks source link

fix: usage of await inside loop by using promises #413

Closed akamfoad closed 1 year ago

akamfoad commented 1 year ago

Instead of looping over in a for..of loop that uses await, one can use Promise.all in which the promises are result of filtering and mapping of the array using the Array.

netlify[bot] commented 1 year ago

Deploy Preview for svgomg ready!

Name Link
Latest commit f7f419dabab31577ab821e605a56a9b733e59012
Latest deploy log https://app.netlify.com/sites/svgomg/deploys/6370dc94f114140008fc2980
Deploy Preview https://deploy-preview-413--svgomg.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.