mirror of https://github.com/sbt/sbt.git
Merge pull request #1349 from paulp/pr/dead-line
Remove line of dead code.
This commit is contained in:
commit
5a0e962d8a
|
|
@ -183,7 +183,6 @@ object State {
|
|||
log.debug(s"> $x")
|
||||
f(x, s.copy(remainingCommands = xs, history = x :: s.history))
|
||||
}
|
||||
s.copy(remainingCommands = s.remainingCommands.drop(1))
|
||||
def :::(newCommands: Seq[String]): State = s.copy(remainingCommands = newCommands ++ s.remainingCommands)
|
||||
def ::(command: String): State = (command :: Nil) ::: this
|
||||
def ++(newCommands: Seq[Command]): State = s.copy(definedCommands = (s.definedCommands ++ newCommands).distinct)
|
||||
|
|
@ -254,4 +253,4 @@ object State {
|
|||
}
|
||||
private[sbt] def getBoolean(s: State, key: AttributeKey[Boolean], default: Boolean): Boolean =
|
||||
s.get(key) getOrElse default
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue