Skip to content

Commit

Permalink
fix #51 on windows (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vap0r1ze committed Jul 15, 2023
1 parent a40f2a7 commit 760b84c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/find-all.ts
Expand Up @@ -45,7 +45,7 @@ function walk(
return;
}
// skip deleted or inaccessible directories
if (err && !(err.code === 'ENOENT' || err.code === 'EACCES')) {
if (err && !(err.code === 'ENOENT' || err.code === 'EACCES' || err.code === 'EPERM')) {
state.err = true;
done(err);
} else {
Expand Down

0 comments on commit 760b84c

Please sign in to comment.