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 {
242
242
def unapply (id : ModuleID ): Option [String ] =
243
243
if (
244
244
id.organization == scalafixSemanticdb.organization &&
245
- id.name.startsWith(scalafixSemanticdb.name)
245
+ id.name.startsWith(scalafixSemanticdb.name) &&
246
+ id.revision == BuildInfo .scalametaVersion
246
247
) Some (id.revision)
247
248
else None
248
249
}
Original file line number Diff line number Diff line change
1
+ # Check if we have an actionnable failure
1
2
-> scalafix
2
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
You can’t perform that action at this time.
0 commit comments