Skip to content

Commit

Permalink
Fix lint suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
igfoo committed Jul 27, 2023
1 parent cae6b78 commit a27d3e9
Showing 1 changed file with 8 additions and 2 deletions.
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

0 comments on commit a27d3e9

Please sign in to comment.