Skip to content

Commit 66e08d2

Browse files
committed
Make entries in new mapping mandatory
1 parent 8a1cd76 commit 66e08d2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/start-proxy-action.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/start-proxy.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,14 +236,16 @@ const LANGUAGE_TO_REGISTRY_TYPE: RegistryMapping = {
236236
go: ["goproxy_server", "git_source"],
237237
} as const;
238238

239-
const NEW_LANGUAGE_TO_REGISTRY_TYPE: RegistryMapping = {
239+
const NEW_LANGUAGE_TO_REGISTRY_TYPE: Required<RegistryMapping> = {
240240
actions: [],
241+
cpp: [],
241242
java: ["maven_repository"],
242243
csharp: ["nuget_feed"],
243244
javascript: [],
244245
python: [],
245246
ruby: [],
246247
rust: [],
248+
swift: [],
247249
go: ["goproxy_server", "git_source"],
248250
} as const;
249251

0 commit comments

Comments
 (0)