From 130ab2d7218cbb7854027808c018f1cd7b68c659 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 13 Apr 2026 16:54:06 +0100 Subject: [PATCH] Improve JSDoc --- src/languages/index.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/languages/index.ts b/src/languages/index.ts index 2e91d8f41..7ecbd06fd 100644 --- a/src/languages/index.ts +++ b/src/languages/index.ts @@ -34,7 +34,13 @@ export function isBuiltInLanguage( } /** - * Parses a built-in language name or alias. + * Parse a language input corresponding to a built-in language into its canonical CodeQL language + * name. + * + * This uses the language aliases shipped with the Action and will not be able to resolve aliases + * added by third-party CodeQL language support or versions of the CodeQL CLI newer than the one + * mentioned in `defaults.json`. Therefore, this function should only be used when the CodeQL CLI is + * not available. */ export function parseBuiltInLanguage( language: string,