File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
sbt-test/sbt-scalafix/unavailable-semanticdb-scalac Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,8 @@ object ScalafixPlugin extends AutoPlugin {
242242 def unapply (id : ModuleID ): Option [String ] =
243243 if (
244244 id.organization == scalafixSemanticdb.organization &&
245- id.name.startsWith(scalafixSemanticdb.name)
245+ id.name.startsWith(scalafixSemanticdb.name) &&
246+ id.revision == BuildInfo .scalametaVersion
246247 ) Some (id.revision)
247248 else None
248249 }
Original file line number Diff line number Diff line change 1+ # Check if we have an actionnable failure
12-> scalafix
23> 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
You can’t perform that action at this time.
0 commit comments