Skip to content

Commit

Permalink
Merge pull request #1046 from Privado-Inc/dev
Browse files Browse the repository at this point in the history
Release PR
  • Loading branch information
pandurangpatil authored Apr 3, 2024
2 parents e59676b + 7cd2868 commit 536b85b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ ThisBuild / scalaVersion := "3.3.1"
ThisBuild / version := sys.env.getOrElse("BUILD_VERSION", "dev-SNAPSHOT")
// parsed by project/Versions.scala, updated by updateDependencies.sh

val cpgVersion = "1.6.6"
val joernVersion = "2.0.290"
val overflowdbVersion = "1.187"
val cpgVersion = "1.6.10"
val joernVersion = "2.0.311"
val overflowdbVersion = "1.190"
val requests = "0.8.0"
val upickle = "3.1.2"

Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/ai/privado/cache/AppCache.scala
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ class AppCache(
def init(path: String): Unit = {
this.scanPath = path.stripSuffix("/") // Scan Path of the repo on the host machine
this.localScanPath = getRepoScanPath(path) // scan path perceived by the binary (can be different inside docker)
this.repoName = this.localScanPath.split("/\\\\").last
this.repoName = this.localScanPath.split("[/\\\\]").lastOption.getOrElse("")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ abstract class DataElementDiscoveryTestBase extends AnyWordSpec with Matchers wi
outputDir = File.newTemporaryDirectory()

val config =
Config(fetchDependencies = true).withInputPath(inputDir.pathAsString).withOutputPath(outputDir.pathAsString)
Config(fetchDependencies = true, delombokMode = Some("no-delombok"))
.withInputPath(inputDir.pathAsString)
.withOutputPath(outputDir.pathAsString)
val javaSrc = new JavaSrc2Cpg()
val xtocpg = javaSrc.createCpg(config).map { cpg =>
applyDefaultOverlays(cpg)
Expand Down

0 comments on commit 536b85b

Please sign in to comment.