mirror of
https://github.com/github/codeql-action.git
synced 2025-12-24 00:00:20 +08:00
Use the API URL from the environment if it is present.
This commit is contained in:
@@ -21,11 +21,13 @@ setupTests(test);
|
||||
const sampleApiDetails = {
|
||||
auth: "token",
|
||||
url: "https://github.com",
|
||||
apiURL: undefined,
|
||||
};
|
||||
|
||||
const sampleGHAEApiDetails = {
|
||||
auth: "token",
|
||||
url: "https://example.githubenterprise.com",
|
||||
apiURL: undefined,
|
||||
};
|
||||
|
||||
test.beforeEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user