test
parent
2213fbe02e
commit
2bf5c1b5db
|
|
@ -503,11 +503,14 @@ class RemoteClientSystem {
|
|||
return;
|
||||
}
|
||||
const outputChunk = `${stdout.toString()}`;
|
||||
cloud_runner_logger_1.default.logCli(outputChunk);
|
||||
const outputLines = outputChunk.split(`\n`);
|
||||
for (const element of outputLines) {
|
||||
cloud_runner_logger_1.default.logCli(element);
|
||||
}
|
||||
output += outputChunk;
|
||||
});
|
||||
child.on('close', function (code) {
|
||||
cloud_runner_logger_1.default.logCli(`[exit ${code}]`);
|
||||
cloud_runner_logger_1.default.logCli(`[Exit code ${code}]`);
|
||||
if (code !== 0) {
|
||||
throw new Error(output);
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -15,11 +15,14 @@ export class RemoteClientSystem {
|
|||
return;
|
||||
}
|
||||
const outputChunk = `${stdout.toString()}`;
|
||||
CloudRunnerLogger.logCli(outputChunk);
|
||||
const outputLines = outputChunk.split(`\n`);
|
||||
for (const element of outputLines) {
|
||||
CloudRunnerLogger.logCli(element);
|
||||
}
|
||||
output += outputChunk;
|
||||
});
|
||||
child.on('close', function (code) {
|
||||
CloudRunnerLogger.logCli(`[exit ${code}]`);
|
||||
CloudRunnerLogger.logCli(`[Exit code ${code}]`);
|
||||
if (code !== 0) {
|
||||
throw new Error(output);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue