Skip to content

Fix fs copyFile when source and target are the same #1108

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

Merged
merged 1 commit into from
Oct 27, 2015

Conversation

rosen-vladimirov
Copy link
Contributor

When source and target file are the same, copyFile produces empty file.
Add check and if they are the same, do not execute any action.

Move fs tests from appbuilder-cli to common. Add tests for copyFile.

@rosen-vladimirov rosen-vladimirov self-assigned this Oct 27, 2015
@rosen-vladimirov rosen-vladimirov added this to the 1.5.0 milestone Oct 27, 2015
@ns-bot
Copy link

ns-bot commented Oct 27, 2015

Test PASSed.

1 similar comment
@ns-bot
Copy link

ns-bot commented Oct 27, 2015

Test PASSed.

@ns-bot
Copy link

ns-bot commented Oct 27, 2015

Test PASSed.

@teobugslayer
Copy link
Contributor

👍

@ns-bot
Copy link

ns-bot commented Oct 27, 2015

Test PASSed.

When source and target file are the same, copyFile produces empty file.
Add check and if they are the same, do not execute any action.

Move fs tests from appbuilder-cli to common. Add tests for copyFile.
@ns-bot
Copy link

ns-bot commented Oct 27, 2015

Test PASSed.

rosen-vladimirov added a commit that referenced this pull request Oct 27, 2015
Fix fs copyFile when source and target are the same
@rosen-vladimirov rosen-vladimirov merged commit 6dd1b57 into master Oct 27, 2015
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-copyFile branch October 27, 2015 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants