mirror of https://github.com/sbt/sbt.git
fix exit code
This commit is contained in:
parent
3821239b43
commit
4ce57596d9
|
|
@ -62,7 +62,7 @@ object State
|
|||
def continue = setNext(Next.Continue)
|
||||
def reboot(full: Boolean) = throw new xsbti.FullReload(s.commands.toArray, full)
|
||||
def reload = setNext(Next.Reload)
|
||||
def exit(ok: Boolean) = setNext(if(ok) Next.Fail else Next.Done)
|
||||
def exit(ok: Boolean) = setNext(if(ok) Next.Done else Next.Fail)
|
||||
def get[T](key: AttributeKey[T]) = s.attributes.get(key)
|
||||
def put[T](key: AttributeKey[T], value: T) = s.copy(attributes = s.attributes.put(key, value))
|
||||
def fail =
|
||||
|
|
|
|||
Loading…
Reference in New Issue