diff --git a/build.sbt b/build.sbt index 4756cd411..986af0300 100644 --- a/build.sbt +++ b/build.sbt @@ -1,7 +1,7 @@ name := "codepropertygraph" // parsed by project/Versions.scala, updated by updateDependencies.sh -val flatgraphVersion = "0.0.88" +val flatgraphVersion = "0.0.89" inThisBuild( List( diff --git a/codepropertygraph/src/main/scala/io/shiftleft/passes/CpgPass.scala b/codepropertygraph/src/main/scala/io/shiftleft/passes/CpgPass.scala index 42228d6cd..58509d6f3 100644 --- a/codepropertygraph/src/main/scala/io/shiftleft/passes/CpgPass.scala +++ b/codepropertygraph/src/main/scala/io/shiftleft/passes/CpgPass.scala @@ -75,12 +75,7 @@ abstract class ForkJoinParallelCpgPass[T <: AnyRef](cpg: Cpg, @nowarn outName: S nanosBuilt = System.nanoTime() nDiff = diffGraph.size - // TODO how about `nDiffT` which seems to count the number of modifications.. - // nDiffT = overflowdb.BatchedUpdate - // .applyDiff(cpg.graph, diffGraph, null) - // .transitiveModifications() - - flatgraph.DiffGraphApplier.applyDiff(cpg.graph, diffGraph) + nDiffT = flatgraph.DiffGraphApplier.applyDiff(cpg.graph, diffGraph) } catch { case exc: Exception => baseLogger.error(s"Pass ${name} failed", exc)