chore(console) setExec: rm " "

This commit is contained in:
coderaiser 2014-07-08 10:14:49 -04:00
parent fcb512a49f
commit 651902b243

View file

@ -166,18 +166,18 @@
* @param callback
*/
function setExec(callback, error, stdout, stderr) {
var json,
errorStr = stderr || error;
if (errorStr)
errorStr = addNewLine(errorStr + '');
json = {
stdout : stdout,
stderr : errorStr
};
Util.exec(callback, json, error, stderr);
var json,
errorStr = stderr || error;
if (errorStr)
errorStr = addNewLine(errorStr + '');
json = {
stdout : stdout,
stderr : errorStr
};
Util.exec(callback, json, error, stderr);
}
function setSpawn(сommand, options, callback) {