mirror of https://github.com/sbt/sbt.git
Merge pull request #5810 from eatkins/progress-format
Improve progress display with limit + 1 tasks
This commit is contained in:
commit
45ebebda5d
|
|
@ -171,7 +171,7 @@ private[sbt] object ProgressState {
|
|||
s" | => ${item.name} ${elapsed}s"
|
||||
}
|
||||
val limit = state.maxItems
|
||||
if (base.size > limit)
|
||||
if (base.size > limit + 1)
|
||||
s" | ... (${base.size - limit} other tasks)" +: base.takeRight(limit)
|
||||
else base
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue