fshost / node-dir

Recursive asynchronous file and directory operations for Node.js
MIT License
221 stars 44 forks source link

Update paths.js #67

Open edwardsmarkf opened 1 year ago

edwardsmarkf commented 1 year ago

if a directory is empty, paths.js crashes with "TypeError: Cannot read properties of undefined (reading 'files')" error.