Skip to content
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

Copy symlinks in copySync #85

Merged
merged 1 commit into from
Sep 22, 2014
Merged

Conversation

Ackar
Copy link
Contributor

@Ackar Ackar commented Sep 17, 2014

This fixes the symlinks being ignored by copySync.

I chose to follow the behavior of cp -R which is the most logical to me:

  • If the source is a file: we follow the link and copy the file content
  • If the source is a directory: we copy the links

jprichardson added a commit that referenced this pull request Sep 22, 2014
Copy symlinks in copySync
@jprichardson jprichardson merged commit 57bc435 into jprichardson:master Sep 22, 2014
@jprichardson
Copy link
Owner

THanks :)

jprichardson added a commit that referenced this pull request Sep 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants