lib/kafo/progress_bar.rb in kafo-2.1.0 vs lib/kafo/progress_bar.rb in kafo-3.0.0
- old
+ new
@@ -47,10 +47,10 @@
update_bar = true
force_update = true
end
end
- if (line_end = EVALTRACE_END.match(line)) && @lines < @total
+ if (line_end = EVALTRACE_END.match(line)) && @total != :unknown && @lines < @total
if (known_resource = find_known_resource(line_end[1]))
@resources.delete(known_resource) # ensure it's only counted once
@lines += 1
end
end