mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 01:27:22 +00:00
Rename Language enum and use generic Language where possible
This commit is contained in:
2
lib/init.js
generated
2
lib/init.js
generated
@@ -113,7 +113,7 @@ async function runInit(codeql, config, sourceRoot, processName, registriesInput,
|
||||
* This check happens in a powershell script.
|
||||
*/
|
||||
async function checkInstallPython311(languages, codeql) {
|
||||
if (languages.includes(languages_1.Language.python) &&
|
||||
if (languages.includes(languages_1.KnownLanguage.python) &&
|
||||
process.platform === "win32" &&
|
||||
!(await codeql.getVersion()).features?.supportsPython312) {
|
||||
const script = path.resolve(__dirname, "../python-setup", "check_python12.ps1");
|
||||
|
||||
Reference in New Issue
Block a user