Describe the bug
When run svgo recursive into a foler tree with huge of vectors files get EMFILE: too many open files
To Reproduce
Have a vectors folder with huge ammount of svg files and run:
svgo -f vectors --multipass --pretty -r
Get:
Error: EMFILE: too many open files, open 'cloudy-day.svg'
Expected behavior
Run over all files
Desktop (please complete the following information):
- SVGO Version 3.2.0
- NodeJs Version v16.13.0
- OS: Windows 10, 64bits