Closed
Description
- Operating System: Windows, and online REPLs
- Node.js version:
12.13.0
fs-extra
version:8.1.0
First reported within facebook/create-react-app#7892 - moveSync
errors thrown when the destination already exist do not have EEXISTS
as a code
property, causing defensive try catches (in that thread) to fall through
I isolated this behavior outside of CRA, and I think it serves as a proper reduced test case to discuss further.
✔️ [email protected] moveSync
behavior with error.code
❌ [email protected] moveSync
behavior without error.code
Metadata
Metadata
Assignees
Labels
No labels