-
Notifications
You must be signed in to change notification settings - Fork 73
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
Upgrade copyTree #125
Upgrade copyTree #125
Conversation
To support target file system and include testing.
On mobile at the moment so can't comment on the line.
|
Good catch. |
Also, pending tests and a corresponding change to v2. Not this week though. |
if (stat.isFile()) { | ||
return sourceFs.copy(source, target); | ||
} else if (stat.isDirectory()) { | ||
return sourceFs.exists(target).then(function (targetExists) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be targetFs.exists
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
Fixes #113 |
Why dont we merge @kriskowal ? |
To support target file system and include testing.