Fix linter errors

This commit is contained in:
Calum Grant 2024-10-25 10:10:50 +01:00
parent 802a7ed0bc
commit f88a648aad
3 changed files with 6 additions and 3 deletions

3
lib/init-action.js generated
View file

@ -319,7 +319,8 @@ async function run() {
// Set CODEQL_EXTRACTOR_CPP_BUILD_MODE_NONE
if (config.languages.includes(languages_1.Language.cpp)) {
const bmnVar = "CODEQL_EXTRACTOR_CPP_BUILD_MODE_NONE";
const value = process.env[bmnVar] || await features.getValue(feature_flags_1.Feature.CppBuildModeNone, codeql);
const value = process.env[bmnVar] ||
(await features.getValue(feature_flags_1.Feature.CppBuildModeNone, codeql));
logger.info(`Setting C++ build-mode: none to ${value}`);
core.exportVariable(bmnVar, value);
}

File diff suppressed because one or more lines are too long