Skip to content

Commit 30636fb

Browse files
committed
bug fixes
1 parent 91182cc commit 30636fb

File tree

8 files changed

+138
-86
lines changed

8 files changed

+138
-86
lines changed

dist/post/index.js

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/post/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pre/index.js

Lines changed: 93 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pre/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/arc-runner.test.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
import { isArcRunner, sendAllowedEndpoints } from "./arc-runner";
22

3-
43
it("should correctly recognize arc based runner", async () => {
54
process.env["GITHUB_ACTIONS_RUNNER_EXTRA_USER_AGENT"] =
65
"actions-runner-controller/2.0.1";
76

8-
let isArc: boolean = await isArcRunner();
7+
let isArc: boolean = await isArcRunner();
98
expect(isArc).toBe(true);
10-
119
});
1210

11+
it("should write endpoint files", () => {
12+
process.env["isTest"] = "1";
1313

14-
it("should write endpoint files", ()=>{
15-
process.env["isTest"] = "1"
16-
17-
let allowed_endpoints = ["github.com:443", "*.google.com:443", "youtube.com"].join(" ");
14+
let allowed_endpoints = [
15+
"github.com:443",
16+
"*.google.com:443",
17+
"youtube.com",
18+
].join(" ");
1819
sendAllowedEndpoints(allowed_endpoints);
19-
20-
})
20+
});

0 commit comments

Comments
 (0)