Skip to content

Commit

Permalink
fix dominikg#51 on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Vap0r1ze committed Jul 15, 2023
1 parent a40f2a7 commit 01c052f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/find-all.ts
Original file line number Diff line number Diff line change
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 01c052f

Please sign in to comment.