Skip to content

cp.js cpdirSyncRecursive doesn't correctly handle symlinks on windows #198

@gatkinsNZ

Description

@gatkinsNZ

The change 74ed9ca has broken recursive folder content copying on windows 8 when using symlinks. Instead of copying the symlink, it creates a junction link which links to the original file as if it was a directory not a file. This causes errors when using the files.

Came across this issue when using cordova CLI to do an Android build. See screenshot below - original folder is on the left, resulting folder on the right. There is some discussion of the issue of junction links here #104

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions