Skip to content

Adding rsync returned code into resulting object - #45

Merged
jedrichards merged 1 commit into
jedrichards:masterfrom
nuxlli:master
Jun 27, 2016
Merged

jedrichards merged 1 commit into
jedrichards:masterfrom
nuxlli:master

Conversation

@nuxlli

@nuxlli nuxlli commented Jun 25, 2016

Copy link
Copy Markdown
Contributor

The result code returned by rsync can be important in some cases. This PR adds this code into the resulting object in case of error, so that the current API is not broken.

Besides that, I've made a fix in the negative test cases from package.js. topic expects a function and when the rsync function was passed, vows called the function instead of returning it, which would be expected for the rest of the test.

@jedrichards

Copy link
Copy Markdown
Owner

This is an improvement, many thanks!

@jedrichards
jedrichards merged commit ae4a6d0 into jedrichards:master Jun 27, 2016
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