Skip to content

Commit

Permalink
scalafmt formatting and typo in rules3/compile ci-3 check
Browse files Browse the repository at this point in the history
  • Loading branch information
rvacaru committed Jul 22, 2022
1 parent ada8ad6 commit 1fdbcb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project/ScalafixBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys {
commands += Command.command("ci-3") { s =>
"unit2_12Target3/test" ::
"core3/compile" ::
"rule3/compile" ::
"rules3/compile" ::
s
},
commands += Command.command("ci-213") { s =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ final class DisableSyntax(config: DisableSyntaxConfig)
case Defn.Val(mods, _, _, _)
if config.noFinalVal &&
mods.exists(_.is[Mod.Final]) =>
val mod = mods.find(_.is[Mod.Final]).get
val mod = mods.find(_.is[Mod.Final]).get
Seq(noFinalVal.at(mod.pos))
case NoValPatterns(v) if config.noValPatterns =>
Seq(noValPatternCategory.at(v.pos))
Expand Down

0 comments on commit 1fdbcb1

Please sign in to comment.