mirror of https://github.com/sbt/sbt.git
"oldshell" command should use `OldShell` on failure instead of `Shell`
following up https://github.com/sbt/sbt/pull/3098
This commit is contained in:
parent
053834aea0
commit
9565e33ea8
|
|
@ -406,7 +406,7 @@ object BasicCommands {
|
|||
case Some(line) =>
|
||||
val newState = s
|
||||
.copy(
|
||||
onFailure = Some(Exec(Shell, None)),
|
||||
onFailure = Some(Exec(OldShell, None)),
|
||||
remainingCommands = Exec(line, s.source) +: Exec(OldShell, None) +: s.remainingCommands
|
||||
)
|
||||
.setInteractive(true)
|
||||
|
|
|
|||
Loading…
Reference in New Issue