Skip to content

Commit

Permalink
remove unused code in build file
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Dec 26, 2023
1 parent 3a21efa commit d22b46f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions project/HouseRulesPluglin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ object HouseRulesPlugin extends AutoPlugin {
})
.value
.toList,
scalacOptions ++= "-Yinline-warnings".ifScala211OrMinus.value.toList,
scalacOptions ++= "-Yno-adapted-args".ifScala212OrMinus.value.toList,
scalacOptions ++= "-Ywarn-dead-code".ifScala213OrMinus.value.toList,
scalacOptions ++= "-Ywarn-numeric-widen".ifScala213OrMinus.value.toList,
Expand All @@ -46,8 +45,6 @@ object HouseRulesPlugin extends AutoPlugin {
case (n, _) if n >= 3 => __x
}
)
def ifScala211OrMinus = ifScalaLte(11)
def ifScala211OrPlus = ifScalaGte(11)
def ifScala212OrMinus = ifScalaLte(12)
def ifScala213OrMinus = ifScalaLte(13)
}
Expand Down

0 comments on commit d22b46f

Please sign in to comment.