Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ab3e5845f |
5 changed files with 7 additions and 7 deletions
4
dist/post/index.js
vendored
4
dist/post/index.js
vendored
|
|
@ -27801,11 +27801,11 @@ function isArcRunner() {
|
|||
else {
|
||||
isARC = runnerUserAgent.includes("actions-runner-controller/");
|
||||
}
|
||||
return isARC || isSecondaryPod();
|
||||
return isARC;
|
||||
}
|
||||
function isSecondaryPod() {
|
||||
const workDir = "/__w";
|
||||
return external_fs_.existsSync(workDir);
|
||||
return fs.existsSync(workDir);
|
||||
}
|
||||
function sendAllowedEndpoints(endpoints) {
|
||||
const allowedEndpoints = endpoints.split(" "); // endpoints are space separated
|
||||
|
|
|
|||
2
dist/post/index.js.map
vendored
2
dist/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/pre/index.js
vendored
4
dist/pre/index.js
vendored
|
|
@ -87929,11 +87929,11 @@ function isArcRunner() {
|
|||
else {
|
||||
isARC = runnerUserAgent.includes("actions-runner-controller/");
|
||||
}
|
||||
return isARC || isSecondaryPod();
|
||||
return isARC;
|
||||
}
|
||||
function isSecondaryPod() {
|
||||
const workDir = "/__w";
|
||||
return external_fs_.existsSync(workDir);
|
||||
return fs.existsSync(workDir);
|
||||
}
|
||||
function sendAllowedEndpoints(endpoints) {
|
||||
const allowedEndpoints = endpoints.split(" "); // endpoints are space separated
|
||||
|
|
|
|||
2
dist/pre/index.js.map
vendored
2
dist/pre/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -13,7 +13,7 @@ export function isArcRunner(): boolean {
|
|||
isARC = runnerUserAgent.includes("actions-runner-controller/");
|
||||
}
|
||||
|
||||
return isARC || isSecondaryPod();
|
||||
return isARC;
|
||||
}
|
||||
|
||||
function isSecondaryPod(): boolean {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue