mirror of
https://github.com/github/codeql-action.git
synced 2026-01-06 06:30:10 +08:00
Convert GitHub variant to an enum.
This commit is contained in:
@@ -21,7 +21,7 @@ const sampleApiDetails = {
|
||||
url: "https://github.example.com",
|
||||
};
|
||||
|
||||
const gitHubVersion = { type: "dotcom" } as util.GitHubVersion;
|
||||
const gitHubVersion = { type: util.GitHubVariant.DOTCOM } as util.GitHubVersion;
|
||||
|
||||
// Returns the filepath of the newly-created file
|
||||
function createConfigFile(inputFileContents: string, tmpDir: string): string {
|
||||
|
||||
Reference in New Issue
Block a user