mirror of https://github.com/sbt/sbt.git
Merge pull request #6902 from unkarjedy/oldshell-fix-1.7.x
"oldshell" command should use `OldShell` on failure instead of `Shell`
This commit is contained in:
commit
359dbed6a8
|
|
@ -406,7 +406,7 @@ object BasicCommands {
|
||||||
case Some(line) =>
|
case Some(line) =>
|
||||||
val newState = s
|
val newState = s
|
||||||
.copy(
|
.copy(
|
||||||
onFailure = Some(Exec(Shell, None)),
|
onFailure = Some(Exec(OldShell, None)),
|
||||||
remainingCommands = Exec(line, s.source) +: Exec(OldShell, None) +: s.remainingCommands
|
remainingCommands = Exec(line, s.source) +: Exec(OldShell, None) +: s.remainingCommands
|
||||||
)
|
)
|
||||||
.setInteractive(true)
|
.setInteractive(true)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue