further cleanup input

pull/353/head
Frostebite 2022-04-06 19:48:13 +01:00
parent 989aca61f6
commit fece47ac71
3 changed files with 3 additions and 5 deletions

3
dist/index.js vendored
View File

@ -800,9 +800,8 @@ class CloudRunnerSystem {
output += outputChunk;
});
child.on('close', (code) => {
remote_client_logger_1.RemoteClientLogger.log('close');
if (!suppressLogs) {
remote_client_logger_1.RemoteClientLogger.log(`[Exit code ${code}]`);
remote_client_logger_1.RemoteClientLogger.log(`[${code}]`);
}
if (code !== 0 && !suppressError) {
throwError(output);

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -25,9 +25,8 @@ export class CloudRunnerSystem {
output += outputChunk;
});
child.on('close', (code) => {
RemoteClientLogger.log('close');
if (!suppressLogs) {
RemoteClientLogger.log(`[Exit code ${code}]`);
RemoteClientLogger.log(`[${code}]`);
}
if (code !== 0 && !suppressError) {
throwError(output);