mirror of https://github.com/sbt/sbt.git
Fix cross + scoped task
This commit is contained in:
parent
588d01b2dd
commit
063b32bbba
|
|
@ -200,7 +200,7 @@ object Cross {
|
||||||
commandsByVersion.flatMap {
|
commandsByVersion.flatMap {
|
||||||
case (v, commands) =>
|
case (v, commands) =>
|
||||||
commands match {
|
commands match {
|
||||||
case Seq(c) => Seq(s"$SwitchCommand $verbose $v! $c")
|
case Seq(c) => Seq(s"$SwitchCommand $verbose $v $c")
|
||||||
case Seq() => Nil // should be unreachable
|
case Seq() => Nil // should be unreachable
|
||||||
case multi if fullArgs.isEmpty =>
|
case multi if fullArgs.isEmpty =>
|
||||||
Seq(s"$SwitchCommand $verbose $v! all ${multi.mkString(" ")}")
|
Seq(s"$SwitchCommand $verbose $v! all ${multi.mkString(" ")}")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue