mirror of https://github.com/sbt/sbt.git
Fix StateOps#fail != fail
This commit is contained in:
parent
317085a458
commit
c7be291946
|
|
@ -228,7 +228,8 @@ object State {
|
|||
def fail =
|
||||
{
|
||||
import BasicCommandStrings.Compat.{ FailureWall => CompatFailureWall }
|
||||
val remaining = s.remainingCommands.dropWhile(c => c != FailureWall && c != CompatFailureWall)
|
||||
val remaining =
|
||||
s.remainingCommands.dropWhile(c => c.commandLine != FailureWall && c.commandLine != CompatFailureWall)
|
||||
if (remaining.isEmpty)
|
||||
applyOnFailure(s, Nil, exit(ok = false))
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue