mirror of
https://github.com/github/codeql-action
synced 2026-05-22 00:00:34 +03:00
Make entries in new mapping mandatory
This commit is contained in:
Generated
+2
@@ -121754,12 +121754,14 @@ var LANGUAGE_TO_REGISTRY_TYPE = {
|
||||
};
|
||||
var NEW_LANGUAGE_TO_REGISTRY_TYPE = {
|
||||
actions: [],
|
||||
cpp: [],
|
||||
java: ["maven_repository"],
|
||||
csharp: ["nuget_feed"],
|
||||
javascript: [],
|
||||
python: [],
|
||||
ruby: [],
|
||||
rust: [],
|
||||
swift: [],
|
||||
go: ["goproxy_server", "git_source"]
|
||||
};
|
||||
function getRegistryAddress(registry) {
|
||||
|
||||
+3
-1
@@ -236,14 +236,16 @@ const LANGUAGE_TO_REGISTRY_TYPE: RegistryMapping = {
|
||||
go: ["goproxy_server", "git_source"],
|
||||
} as const;
|
||||
|
||||
const NEW_LANGUAGE_TO_REGISTRY_TYPE: RegistryMapping = {
|
||||
const NEW_LANGUAGE_TO_REGISTRY_TYPE: Required<RegistryMapping> = {
|
||||
actions: [],
|
||||
cpp: [],
|
||||
java: ["maven_repository"],
|
||||
csharp: ["nuget_feed"],
|
||||
javascript: [],
|
||||
python: [],
|
||||
ruby: [],
|
||||
rust: [],
|
||||
swift: [],
|
||||
go: ["goproxy_server", "git_source"],
|
||||
} as const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user