Fix lib caching
parent
16b0754677
commit
368c390590
|
|
@ -503,10 +503,6 @@ class RemoteClientSystem {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const outputChunk = `${stdout}`;
|
const outputChunk = `${stdout}`;
|
||||||
const outputLines = outputChunk.split(`\n`);
|
|
||||||
for (const element of outputLines) {
|
|
||||||
cloud_runner_logger_1.default.logCli(element);
|
|
||||||
}
|
|
||||||
output += outputChunk;
|
output += outputChunk;
|
||||||
});
|
});
|
||||||
child.on('close', function (code) {
|
child.on('close', function (code) {
|
||||||
|
|
@ -514,6 +510,10 @@ class RemoteClientSystem {
|
||||||
if (code !== 0) {
|
if (code !== 0) {
|
||||||
throw new Error(output);
|
throw new Error(output);
|
||||||
}
|
}
|
||||||
|
const outputLines = output.split(`\n`);
|
||||||
|
for (const element of outputLines) {
|
||||||
|
cloud_runner_logger_1.default.logCli(element);
|
||||||
|
}
|
||||||
promise(output);
|
promise(output);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -15,10 +15,6 @@ export class RemoteClientSystem {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const outputChunk = `${stdout}`;
|
const outputChunk = `${stdout}`;
|
||||||
const outputLines = outputChunk.split(`\n`);
|
|
||||||
for (const element of outputLines) {
|
|
||||||
CloudRunnerLogger.logCli(element);
|
|
||||||
}
|
|
||||||
output += outputChunk;
|
output += outputChunk;
|
||||||
});
|
});
|
||||||
child.on('close', function (code) {
|
child.on('close', function (code) {
|
||||||
|
|
@ -26,6 +22,10 @@ export class RemoteClientSystem {
|
||||||
if (code !== 0) {
|
if (code !== 0) {
|
||||||
throw new Error(output);
|
throw new Error(output);
|
||||||
}
|
}
|
||||||
|
const outputLines = output.split(`\n`);
|
||||||
|
for (const element of outputLines) {
|
||||||
|
CloudRunnerLogger.logCli(element);
|
||||||
|
}
|
||||||
promise(output);
|
promise(output);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue