Skip to content

Commit 1a2cfa2

Browse files
committed
update sbt scalafmt
1 parent f744f97 commit 1a2cfa2

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

modules/cli/src/main/scala/cli.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ private def argsToTask(args: Seq[String]): Either[String, Task] =
7777
jsonCodec = jsonCodec,
7878
preprocess = s => {
7979
incResources.partitionMap(s => if s.startsWith("!") then Left(s.stripPrefix("!")) else Right(s)) match
80-
case (Nil, Nil) => s
81-
case (excl, Nil) => s.copy(resources = s.resources.view.filterKeys(!_.hasMatch(excl)).toMap)
82-
case (Nil, incl) => s.copy(resources = s.resources.view.filterKeys(_.hasMatch(incl)).toMap)
80+
case (Nil, Nil) => s
81+
case (excl, Nil) => s.copy(resources = s.resources.view.filterKeys(!_.hasMatch(excl)).toMap)
82+
case (Nil, incl) => s.copy(resources = s.resources.view.filterKeys(_.hasMatch(incl)).toMap)
8383
case (excl, incl) =>
8484
s.copy(resources = s.resources.view.filterKeys(k => !k.hasMatch(excl) && k.hasMatch(incl)).toMap)
8585
},

project/plugins.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.9")
22

3-
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
3+
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.6")
44

55
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2")
66

77
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1")
88

9-
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")
9+
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")

0 commit comments

Comments
 (0)