This commit is contained in:
Varun Sharma 2023-11-13 18:48:43 -08:00
commit 310d9e1272
3 changed files with 5 additions and 4 deletions

3
dist/pre/index.js vendored
View file

@ -88660,7 +88660,7 @@ var setup_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _ar
}
return;
}
return;
//return;
let _http = new lib.HttpClient();
let statusCode;
_http.requestOptions = { socketTimeout: 3 * 1000 };
@ -88679,6 +88679,7 @@ var setup_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _ar
console.log(HARDEN_RUNNER_UNAVAILABLE_MESSAGE);
return;
}
return;
const confgStr = JSON.stringify(confg);
external_child_process_.execSync("sudo mkdir -p /home/agent");
external_child_process_.execSync("sudo chown -R $USER /home/agent");

File diff suppressed because one or more lines are too long

View file

@ -165,7 +165,7 @@ import { isArcRunner, sendAllowedEndpoints } from "./arc-runner";
}
return;
}
return;
//return;
let _http = new httpm.HttpClient();
let statusCode;
_http.requestOptions = { socketTimeout: 3 * 1000 };
@ -190,7 +190,7 @@ import { isArcRunner, sendAllowedEndpoints } from "./arc-runner";
console.log(common.HARDEN_RUNNER_UNAVAILABLE_MESSAGE);
return;
}
return;
const confgStr = JSON.stringify(confg);
cp.execSync("sudo mkdir -p /home/agent");
cp.execSync("sudo chown -R $USER /home/agent");