Skip to content

EISDIR: illegal operation on a directory #40

@stevenvachon

Description

@stevenvachon
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions