diff --git a/sbt-plugin/src/main/scala/ch/epfl/scala/AnalyzeDependencyGraph.scala b/sbt-plugin/src/main/scala/ch/epfl/scala/AnalyzeDependencyGraph.scala index bbc5759..217eaaf 100644 --- a/sbt-plugin/src/main/scala/ch/epfl/scala/AnalyzeDependencyGraph.scala +++ b/sbt-plugin/src/main/scala/ch/epfl/scala/AnalyzeDependencyGraph.scala @@ -68,7 +68,7 @@ object AnalyzeDependencyGraph { private def analyzeCves(state: State, vulnerabilities: Seq[Vulnerability]): Unit = { val artifacts = getAllArtifacts(state) vulnerabilities.foreach { v => - val (goodMatches, badMatches) = vulnerabilityMatchesArtifacts(v, artifacts) + val (badMatches, goodMatches) = vulnerabilityMatchesArtifacts(v, artifacts) println(v.toString) if (goodMatches.nonEmpty || badMatches.nonEmpty) { goodMatches.foreach(m => println(s" 🟢 ${m.replaceAll(".*@", "")}"))