mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-25 08:54:10 +00:00
fix(spawnify) setSpawn: addNewLine
This commit is contained in:
parent
0e1fc505cf
commit
56fb614050
1 changed files with 4 additions and 1 deletions
|
|
@ -118,10 +118,13 @@
|
|||
var errorStr = '';
|
||||
|
||||
isSended = true;
|
||||
|
||||
if (error)
|
||||
errorStr = error.message;
|
||||
else if (stderr)
|
||||
errorStr = addNewLine(stderr);
|
||||
errorStr = stderr;
|
||||
|
||||
errorStr = addNewLine(errorStr);
|
||||
|
||||
callback(error, {
|
||||
stderr: errorStr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue