File tree Expand file tree Collapse file tree
modules/cli/src/main/scala Expand file tree Collapse file tree Original file line number Diff line number Diff 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 },
Original file line number Diff line number Diff line change 11addSbtPlugin(" 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
55addSbtPlugin(" org.portable-scala" % " sbt-scala-native-crossproject" % " 1.3.2" )
66
77addSbtPlugin(" 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" )
You can’t perform that action at this time.
0 commit comments