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