This repository was archived by the owner on Jul 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
Stderr goes to Stdout #61
Copy link
Copy link
Open
temtum/node-rsync
#1Description
Lines 464 to 479 in a8a6350
| Rsync.prototype.output = function(stdout, stderr) { | |
| // Check for single argument so the method can be used with Rsync.build | |
| if (arguments.length === 1 && Array.isArray(stdout)) { | |
| stderr = stdout[1]; | |
| stdout = stdout[0]; | |
| } | |
| if (typeof(stdout) === 'function') { | |
| this._outputHandlers.stdout = stdout; | |
| } | |
| if (typeof(stderr) === 'function') { | |
| this._outputHandlers.stderr = stdout; | |
| } | |
| return this; | |
| }; |
I believe this is a typo on:
Line 475 in a8a6350
| this._outputHandlers.stderr = stdout; |
this._outputHandlers.stderr = stdout should be this._outputHandlers.stderr = stderr
hzzzzzz
Metadata
Metadata
Assignees
Labels
No labels