Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: nodejs#44720 issue: - [copyDir](https://github.com/nodejs/node/blob/7e0097d8a33fa7adbc1f298cbf647f6d2fd403e8/lib/internal/fs/cp/cp-sync.js#L287-L289) calls checkPathsSync(), which invokes lstat() which causes error because not checking the opts.filter changes: - check opts.filter before calling `checkPathsSync` and invoking copy logic - cleanup `startCopy` function
- Loading branch information