summaryrefslogtreecommitdiff
path: root/xmake/modules/utils/progress.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-10-29 23:25:41 +0800
committerruki <[email protected]>2025-10-29 23:25:41 +0800
commita2974bf870a7ef03a5cf7c5154d65bc5a38b18fa (patch)
treea051bc1122e0bd4d4965e8e96088a955c14a49f8 /xmake/modules/utils/progress.lua
parent05f3c99fb3ef5fb97088644f792e65d4b813a2ef (diff)
fix linecount
Diffstat (limited to 'xmake/modules/utils/progress.lua')
-rw-r--r--xmake/modules/utils/progress.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/utils/progress.lua b/xmake/modules/utils/progress.lua
index d17bd876b..fadc443e1 100644
--- a/xmake/modules/utils/progress.lua
+++ b/xmake/modules/utils/progress.lua
@@ -204,7 +204,7 @@ function _show_progress_with_multirow_refresh(progress, format, ...)
table.sort(lineinfos, function (a, b) return a.spent_time > b.spent_time end)
-- show the subprocess lines
- local linecount = 0
+ linecount = 0
for _, lineinfo in ipairs(lineinfos) do
-- we need not show it if the progress job is idle in runjobs now
local progress_running = lineinfo.running