Skip to content
Prev Previous commit
Next Next commit
Include experimental languages
  • Loading branch information
henrymercer committed Apr 14, 2026
commit f8b62132ab54098ded433e8efdd5342859672be8
6 changes: 6 additions & 0 deletions pr-checks/update-builtin-languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,19 @@ import * as path from "node:path";

import * as yaml from "yaml";

import { EnvVar } from "../src/environment";

import { BUILTIN_LANGUAGES_FILE } from "./config";

/** Resolve all known language extractor directories. */
function resolveLanguages(codeqlPath: string): Record<string, string[]> {
return JSON.parse(
execFileSync(codeqlPath, ["resolve", "languages", "--format=json"], {
encoding: "utf8",
env: {
...process.env,
[EnvVar.EXPERIMENTAL_FEATURES]: "true", // include experimental languages
},
}),
) as Record<string, string[]>;
}
Expand Down
Loading