mirror of
https://github.com/sbt/sbt.git
synced 2026-09-05 09:15:06 +02:00
Merge pull request #1349 from paulp/pr/dead-line
Remove line of dead code.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user