fix(cli): return early in live tracker when no pending tasks
Some checks are pending
Security Scan / security (push) Waiting to run

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Virgil 2026-04-02 17:16:57 +00:00
parent cdae3a9ac5
commit bfc47c8400

View file

@ -208,6 +208,9 @@ func (tr *TaskTracker) waitLive() {
for i := range n {
tr.renderLine(i, frame)
}
if n == 0 || tr.allDone() {
return
}
ticker := time.NewTicker(80 * time.Millisecond)
defer ticker.Stop()