-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The file doesn't exist, even though it does #72
Comments
I've faced the same issue when I've tried to copy directory that exists in v8.0.0.
Downgrading to v7.3.0 fix the issue. |
The issue introduced here is that we cannot differentiate between folders & files without reading the fs. (afaik) The I think we should revert to only throwing an error when |
ref #74 – that check had some other problems, too |
@whitecrownclown Yeah, lets do that. |
If I try to copy a folder using cpy-cli, I get an error message saying the file doesn't exist. The "file" is a folder, and it does exist.
The error is in index.js, line 81. I don't know the intent of the check
!sourcePaths.every(value => files.includes(value))
but that's the reason it fails.
That check was added September 22.
The text was updated successfully, but these errors were encountered: