Skip to content

Commit 25e82b1

Browse files
authored
bump flatgraph, properly log transitive changes (#1786)
1 parent 8f975f8 commit 25e82b1

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name := "codepropertygraph"
22

33
// parsed by project/Versions.scala, updated by updateDependencies.sh
4-
val flatgraphVersion = "0.0.88"
4+
val flatgraphVersion = "0.0.89"
55

66
inThisBuild(
77
List(

codepropertygraph/src/main/scala/io/shiftleft/passes/CpgPass.scala

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,7 @@ abstract class ForkJoinParallelCpgPass[T <: AnyRef](cpg: Cpg, @nowarn outName: S
7575
nanosBuilt = System.nanoTime()
7676
nDiff = diffGraph.size
7777

78-
// TODO how about `nDiffT` which seems to count the number of modifications..
79-
// nDiffT = overflowdb.BatchedUpdate
80-
// .applyDiff(cpg.graph, diffGraph, null)
81-
// .transitiveModifications()
82-
83-
flatgraph.DiffGraphApplier.applyDiff(cpg.graph, diffGraph)
78+
nDiffT = flatgraph.DiffGraphApplier.applyDiff(cpg.graph, diffGraph)
8479
} catch {
8580
case exc: Exception =>
8681
baseLogger.error(s"Pass ${name} failed", exc)

0 commit comments

Comments
 (0)