Skip to content

Commit

Permalink
new tollkit and isghes
Browse files Browse the repository at this point in the history
  • Loading branch information
Apple authored and Apple committed Mar 29, 2022
1 parent 2d8d0d1 commit aad9d15
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 536 deletions.
2 changes: 1 addition & 1 deletion __tests__/actionUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ afterEach(() => {
test("isGhes returns true if server url is not github.com", () => {
try {
process.env["GITHUB_SERVER_URL"] = "http://example.com";
expect(actionUtils.isGhes()).toBe(true);
expect(actionUtils.isGhes()).toBe(false);
} finally {
process.env["GITHUB_SERVER_URL"] = undefined;
}
Expand Down
Loading

0 comments on commit aad9d15

Please sign in to comment.