Run "npm run build"
This commit is contained in:
parent
42edda9026
commit
545bf65803
4 changed files with 7 additions and 14 deletions
11
lib/init-action.js
generated
11
lib/init-action.js
generated
|
|
@ -231,19 +231,18 @@ async function run() {
|
|||
!(await (0, util_1.codeQlVersionAbove)(codeql, "2.14.4"))) {
|
||||
core.exportVariable(kotlinLimitVar, "1.9.20");
|
||||
}
|
||||
if (config.languages.includes(languages_1.Language.java)) {
|
||||
if (config.languages.includes(languages_1.Language.java) &&
|
||||
// Java Lombok support is enabled by default for >= 2.14.4
|
||||
(await (0, util_1.codeQlVersionAbove)(codeql, "2.14.0")) &&
|
||||
!(await (0, util_1.codeQlVersionAbove)(codeql, "2.14.4"))) {
|
||||
const envVar = "CODEQL_EXTRACTOR_JAVA_RUN_ANNOTATION_PROCESSORS";
|
||||
if (process.env[envVar]) {
|
||||
logger.info(`Environment variable ${envVar} already set. Not en/disabling CodeQL Java Lombok support`);
|
||||
}
|
||||
else if (await features.getValue(feature_flags_1.Feature.CodeqlJavaLombokEnabled, codeql)) {
|
||||
else {
|
||||
logger.info("Enabling CodeQL Java Lombok support");
|
||||
core.exportVariable(envVar, "true");
|
||||
}
|
||||
else {
|
||||
logger.info("Disabling CodeQL Java Lombok support");
|
||||
core.exportVariable(envVar, "false");
|
||||
}
|
||||
}
|
||||
// Disable Python dependency extraction if feature flag set
|
||||
if (await (0, feature_flags_1.isPythonDependencyInstallationDisabled)(codeql, features)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue