endel / increase-memory-limit

Increase memory limit for local node binaries ("max-old-space-size")
http://npmjs.com/package/increase-memory-limit
MIT License
269 stars 26 forks source link

Skip over non-files #5

Closed ajcrites closed 7 years ago

ajcrites commented 7 years ago

This will crash if something in node_modules/.bin does not resolve to a file.

This change skips over such modules. jsbarcode is an example package that has a binary that is a directory.

endel commented 7 years ago

Thanks a lot @ajcrites, released version 1.0.3 with your fix.