mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 08:56:20 +00:00
refactor(console) rmNewLine
This commit is contained in:
parent
0c3b4b0bfb
commit
7536e1d899
1 changed files with 2 additions and 1 deletions
|
|
@ -28,6 +28,7 @@
|
|||
WIN = process.platform === 'win32',
|
||||
|
||||
addNewLine = CloudFunc.addNewLine,
|
||||
rmNewLine = CloudFunc.rmNewLine,
|
||||
|
||||
ConNum = 0,
|
||||
|
||||
|
|
@ -294,7 +295,7 @@
|
|||
|
||||
callback(error || stderr, {
|
||||
stderr : errorStr,
|
||||
path : CloudFunc.rmNewLine(stdout)
|
||||
path : rmNewLine(stdout)
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue