Skip to content

Commit

Permalink
Merge pull request #312 from Privado-Inc/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
khemrajrathore authored Feb 2, 2023
2 parents efa888e + 1c3736a commit dcf2bc4
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,7 @@ import ai.privado.metric.MetricHandler
import ai.privado.model.{Constants, NodeType, RuleInfo}
import ai.privado.utility.ImportUtility
import ai.privado.model.Language
import ai.privado.utility.Utilities.{
addRuleTags,
getDefaultSemantics,
getFileNameForNode,
isFileProcessable,
storeForTag
}
import ai.privado.utility.Utilities.{addRuleTags, getDefaultSemantics, getFileNameForNode, isFileProcessable, storeForTag}
import io.circe.Json
import io.joern.dataflowengineoss.language._
import io.joern.dataflowengineoss.queryengine.{EngineConfig, EngineContext}
Expand Down Expand Up @@ -163,7 +157,7 @@ class JavaAPITagger(cpg: Cpg) extends ForkJoinParallelCpgPass[RuleInfo](cpg) {
}

private def httpPackagesInImport(): Boolean = {
val imports = ImportUtility.getAllImportsFromProject(AppCache.localScanPath, Language.JAVA)
val imports = ImportUtility.getAllImportsFromProject(AppCache.scanPath, Language.JAVA)
val httpPackageRegex = commonHttpPackages.r
val httpPackages = mutable.HashSet[String]()

Expand Down

0 comments on commit dcf2bc4

Please sign in to comment.