drek
drek copied to clipboard
Error: EISDIR: illegal operation on a directory
when folder has name "some_folder.js" this tool thinks that it is a file for scanning and drop in 'illegal operation on a directory' error
Solution: add
if (fs.lstatSync(file).isDirectory()) {
return;
}
to app/index.js in 37 line