mirror of
https://github.com/sbt/sbt.git
synced 2026-09-06 01:26:55 +02:00
Fix StateOps#fail != fail
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user