Closed pmarques closed 10 years ago
Nice catch! Will merge and publish 1.0.1 as soon as I get some free time.
Nice, and then I appreciate the include of that in npm, it will prevent an annoying "Adding a cache directory to the cache will make the world implode." when you set the npm cache in tmp folder (also used by npm), maybe should not be good idea but I found this issue because of that.
Should I open an issue on npm project to include this fix?
Nah, once I publish a new version we'll update the one in npm.
Merged as 15f3dda3cd42472e8fc79760fee5a603f2c1c0a5 with @kriskowal's optimization as 9277983c7f50b61667bc5ae005593df6ca988cdc; released as 1.0.1, and will put it into npm shortly.
Folder starting with the same "prefix" should not be a potential parent