Skip to content

Commit

Permalink
refactor: give a final log message around completion
Browse files Browse the repository at this point in the history
currently seems to "hang" while the rest of the install happens
after the ~90% downloaded
  • Loading branch information
dpastoor committed Jun 8, 2022
1 parent 386a21a commit 2908a9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/gh/assets.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ func (wc *WriteCounter) Write(p []byte) (int, error) {
humanize.Bytes(uint64(wc.Written)),
humanize.Bytes(uint64(wc.Total)))
}
if wc.Written == wc.Total {
log.Infof("completed downloading quarto version %s", wc.Label)
}
return n, nil
}

Expand Down

0 comments on commit 2908a9c

Please sign in to comment.