mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 09:14:58 +00:00
Store all built-in languages
While we want the CodeQL Action to work with third-party language support, having a list of all built-in languages can help us create better type-level checks to ensure that we don't miss things that we want to customize for each of our built-in languages.
This commit is contained in:
30
lib/init-action-post.js
generated
30
lib/init-action-post.js
generated
@@ -166466,6 +166466,36 @@ ${jsonContents}`
|
||||
}
|
||||
}
|
||||
|
||||
// src/languages/builtin.json
|
||||
var builtin_default = {
|
||||
languages: [
|
||||
"actions",
|
||||
"cpp",
|
||||
"csharp",
|
||||
"go",
|
||||
"java",
|
||||
"javascript",
|
||||
"python",
|
||||
"ruby",
|
||||
"rust",
|
||||
"swift"
|
||||
],
|
||||
aliases: {
|
||||
c: "cpp",
|
||||
"c-c++": "cpp",
|
||||
"c-cpp": "cpp",
|
||||
"c#": "csharp",
|
||||
"c++": "cpp",
|
||||
"java-kotlin": "java",
|
||||
"javascript-typescript": "javascript",
|
||||
kotlin: "java",
|
||||
typescript: "javascript"
|
||||
}
|
||||
};
|
||||
|
||||
// src/languages/index.ts
|
||||
var knownLanguageSet = new Set(builtin_default.languages);
|
||||
|
||||
// src/overlay/status.ts
|
||||
var fs7 = __toESM(require("fs"));
|
||||
var path7 = __toESM(require("path"));
|
||||
|
||||
Reference in New Issue
Block a user