TheRedfoox
TheRedfoox
With even more searching, I see that `fs.readdirSync(basePath)` would expect to have only directories but actually with my explorer here `C:\Windows\System32\DriverStore\FileRepository` I see .ini's which may have the same name...
Something like this should solve the problem by simply checking whether the element we're testing is actually a directory. ``` const candidateDirs = fs.readdirSync(basePath).filter(dir => { if (fs.statSync([basePath, dir].join('/')).isDirectory()) {...
No problem! In the meantime I had an npm patch. I'll watch and test it tonight and I'll tell you the result 👌🏻