further cleanup input
parent
c648446252
commit
27c3a51e7a
|
|
@ -790,35 +790,15 @@ class CloudRunnerSystem {
|
|||
throwError(error);
|
||||
}
|
||||
if (stderr) {
|
||||
remote_client_logger_1.RemoteClientLogger.log('stderr');
|
||||
const diagnosticOutput = `${stderr.toString()}`;
|
||||
if (!suppressLogs) {
|
||||
remote_client_logger_1.RemoteClientLogger.logCliDiagnostic(diagnosticOutput);
|
||||
}
|
||||
output += diagnosticOutput;
|
||||
}
|
||||
remote_client_logger_1.RemoteClientLogger.log('stdout');
|
||||
const outputChunk = `${stdout}`;
|
||||
output += outputChunk;
|
||||
});
|
||||
child.on('message', (message) => {
|
||||
remote_client_logger_1.RemoteClientLogger.log('message');
|
||||
const outputChunk = `${message}`;
|
||||
output += outputChunk;
|
||||
});
|
||||
child.on('error', (error) => {
|
||||
remote_client_logger_1.RemoteClientLogger.log('error');
|
||||
remote_client_logger_1.RemoteClientLogger.log(error.toString());
|
||||
if (error) {
|
||||
throwError(error);
|
||||
}
|
||||
});
|
||||
child.on('disconnect', (error) => {
|
||||
remote_client_logger_1.RemoteClientLogger.log('disconnect');
|
||||
if (error) {
|
||||
throwError(error);
|
||||
}
|
||||
});
|
||||
child.on('close', (code) => {
|
||||
remote_client_logger_1.RemoteClientLogger.log('close');
|
||||
if (!suppressLogs) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -15,35 +15,15 @@ export class CloudRunnerSystem {
|
|||
throwError(error);
|
||||
}
|
||||
if (stderr) {
|
||||
RemoteClientLogger.log('stderr');
|
||||
const diagnosticOutput = `${stderr.toString()}`;
|
||||
if (!suppressLogs) {
|
||||
RemoteClientLogger.logCliDiagnostic(diagnosticOutput);
|
||||
}
|
||||
output += diagnosticOutput;
|
||||
}
|
||||
RemoteClientLogger.log('stdout');
|
||||
const outputChunk = `${stdout}`;
|
||||
output += outputChunk;
|
||||
});
|
||||
child.on('message', (message) => {
|
||||
RemoteClientLogger.log('message');
|
||||
const outputChunk = `${message}`;
|
||||
output += outputChunk;
|
||||
});
|
||||
child.on('error', (error) => {
|
||||
RemoteClientLogger.log('error');
|
||||
RemoteClientLogger.log(error.toString());
|
||||
if (error) {
|
||||
throwError(error);
|
||||
}
|
||||
});
|
||||
child.on('disconnect', (error) => {
|
||||
RemoteClientLogger.log('disconnect');
|
||||
if (error) {
|
||||
throwError(error);
|
||||
}
|
||||
});
|
||||
child.on('close', (code) => {
|
||||
RemoteClientLogger.log('close');
|
||||
if (!suppressLogs) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue