fixing library warning in setup step

pull/310/head
Frostebite 2022-01-03 02:09:48 +00:00
parent 0198485884
commit dd5f9a302b
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -662,7 +662,7 @@ class CloudRunnerSystem {
const child = child_process_1.exec(command, (error, stdout, stderr) => {
if (error) {
remote_client_logger_1.RemoteClientLogger.logCliError(`${error.message}`);
throw new Error(error.toString());
throw error;
}
if (stderr) {
remote_client_logger_1.RemoteClientLogger.logCliDiagnostic(`${stderr.toString()}`);

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -11,7 +11,7 @@ export class CloudRunnerSystem {
const child = exec(command, (error, stdout, stderr) => {
if (error) {
RemoteClientLogger.logCliError(`${error.message}`);
throw new Error(error.toString());
throw error;
}
if (stderr) {
RemoteClientLogger.logCliDiagnostic(`${stderr.toString()}`);