mirror of https://github.com/sbt/sbt.git
Merge pull request #139 from alexarchambault/topic/display-fixes
Fixes in progress bar display
This commit is contained in:
commit
cd1a2a007d
|
|
@ -274,10 +274,11 @@ class TermDisplay(
|
|||
override def downloadedArtifact(url: String, success: Boolean): Unit = {
|
||||
downloads.synchronized {
|
||||
downloads -= url
|
||||
doneQueue += (url -> infos.get(url))
|
||||
if (success)
|
||||
doneQueue += (url -> infos.get(url))
|
||||
}
|
||||
|
||||
if (fallbackMode) {
|
||||
if (fallbackMode && success) {
|
||||
// FIXME What about concurrent accesses to out from the thread above?
|
||||
out.write(s"Downloaded $url\n")
|
||||
out.flush()
|
||||
|
|
|
|||
Loading…
Reference in New Issue