cpy('/project/lib/**/*', '/project/dupe')
Dir structure:
βββ project/
βββ lib/
β βββ include/
β β βββ file1.js
β β βββ file2.js
β βββ file.js
βββ package.json
Results in:
Cannot copy from `/project/lib/include` to `/project/temp/include`: cannot read from `/project/lib/include`: EISDIR: illegal operation on a directory, read
If I remove the lib/include
dir, it works fine, but the structure of temp/
has been flattened.
This appears to be related to cpy/issues/10.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too