1
0
Fork 0
mirror of synced 2026-06-05 16:15:14 +00:00

Compare commits

...

1 commit

Author SHA1 Message Date
Varun Sharma
3ab3e5845f ARC fix 2025-05-22 06:44:13 -07:00
5 changed files with 7 additions and 7 deletions

4
dist/post/index.js vendored
View file

@ -27801,11 +27801,11 @@ function isArcRunner() {
else { else {
isARC = runnerUserAgent.includes("actions-runner-controller/"); isARC = runnerUserAgent.includes("actions-runner-controller/");
} }
return isARC || isSecondaryPod(); return isARC;
} }
function isSecondaryPod() { function isSecondaryPod() {
const workDir = "/__w"; const workDir = "/__w";
return external_fs_.existsSync(workDir); return fs.existsSync(workDir);
} }
function sendAllowedEndpoints(endpoints) { function sendAllowedEndpoints(endpoints) {
const allowedEndpoints = endpoints.split(" "); // endpoints are space separated const allowedEndpoints = endpoints.split(" "); // endpoints are space separated

File diff suppressed because one or more lines are too long

4
dist/pre/index.js vendored
View file

@ -87929,11 +87929,11 @@ function isArcRunner() {
else { else {
isARC = runnerUserAgent.includes("actions-runner-controller/"); isARC = runnerUserAgent.includes("actions-runner-controller/");
} }
return isARC || isSecondaryPod(); return isARC;
} }
function isSecondaryPod() { function isSecondaryPod() {
const workDir = "/__w"; const workDir = "/__w";
return external_fs_.existsSync(workDir); return fs.existsSync(workDir);
} }
function sendAllowedEndpoints(endpoints) { function sendAllowedEndpoints(endpoints) {
const allowedEndpoints = endpoints.split(" "); // endpoints are space separated const allowedEndpoints = endpoints.split(" "); // endpoints are space separated

File diff suppressed because one or more lines are too long

View file

@ -13,7 +13,7 @@ export function isArcRunner(): boolean {
isARC = runnerUserAgent.includes("actions-runner-controller/"); isARC = runnerUserAgent.includes("actions-runner-controller/");
} }
return isARC || isSecondaryPod(); return isARC;
} }
function isSecondaryPod(): boolean { function isSecondaryPod(): boolean {