We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d54f51b commit 8666bc8Copy full SHA for 8666bc8
src/main/scala/scalafix/sbt/ScalafixPlugin.scala
@@ -242,7 +242,8 @@ object ScalafixPlugin extends AutoPlugin {
242
def unapply(id: ModuleID): Option[String] =
243
if (
244
id.organization == scalafixSemanticdb.organization &&
245
- id.name.startsWith(scalafixSemanticdb.name)
+ id.name.startsWith(scalafixSemanticdb.name) &&
246
+ id.revision == BuildInfo.scalametaVersion
247
) Some(id.revision)
248
else None
249
}
src/sbt-test/sbt-scalafix/unavailable-semanticdb-scalac/test
@@ -1,2 +1,8 @@
1
+# Check if we have an actionnable failure
2
-> scalafix
3
> checkLogs
4
+
5
+# Check that we don't output the message if the semanticdbVersion does not come from scalafix
6
+> set ThisBuild / semanticdbVersion := "4.8.5"
7
+-> scalafix
8
+-> checkLogs
0 commit comments