Skip to content

Commit

Permalink
stop running delombok code generation
Browse files Browse the repository at this point in the history
  • Loading branch information
khemrajrathore committed Sep 19, 2024
1 parent 2c5ce1e commit 116580f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ object SourceParser {
}

val (analysisRoot, typesRoot) = Delombok.parseDelombokModeOption(config.delombokMode) match {
/*
case DelombokMode.Default if usesLombok =>
logger.info(s"Analysing delomboked code as lombok dependency was found.")
(delombokDir, delombokDir)
Expand All @@ -174,6 +175,11 @@ object SourceParser {
case DelombokMode.TypesOnly => (inputPath, delombokDir)
case DelombokMode.RunDelombok => (delombokDir, delombokDir)
*/
// TODO Have disabled above code as we are already taking care of generating delombok code in privado-core
// and don't need joern to take that decision
case _ => (inputPath, inputPath)
}

new SourceParser(fileInfo.map(_.relativePath.toString), analysisRoot, typesRoot, dirToDelete)
Expand Down

0 comments on commit 116580f

Please sign in to comment.