Skip to content
Prev Previous commit
Next Next commit
Fix lint suggestions
  • Loading branch information
igfoo committed Jul 27, 2023
commit a27d3e93557f0ceeedb2f3f183cb04dd119ca278
10 changes: 8 additions & 2 deletions src/init-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,16 @@ async function run() {

if (await features.getValue(Feature.CodeqlJavaLombokEnabled)) {
logger.info("Enabling CodeQL Java Lombok support");
core.exportVariable("CODEQL_EXTRACTOR_JAVA_RUN_ANNOTATION_PROCESSORS", "true");
core.exportVariable(
"CODEQL_EXTRACTOR_JAVA_RUN_ANNOTATION_PROCESSORS",
"true",
);
} else {
logger.info("Disabling CodeQL Java Lombok support");
core.exportVariable("CODEQL_EXTRACTOR_JAVA_RUN_ANNOTATION_PROCESSORS", "false");
core.exportVariable(
"CODEQL_EXTRACTOR_JAVA_RUN_ANNOTATION_PROCESSORS",
"false",
);
}

// Disable Python dependency extraction if feature flag set
Expand Down