Skip to content

fs: fix operation not permitted

fix: #44720 (closed)

issue:

  • copyDir() calls checkPathsSync(), which invokes lstat() causes error because of not checking the opts.filter

changes:

  • check opts.filter before calling checkPathsSync and copy logic
  • cleanup startCopy function

Merge request reports

Loading