diff options
| -rw-r--r-- | xmake/modules/private/utils/batchcmds.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/utils/batchcmds.lua b/xmake/modules/private/utils/batchcmds.lua index 97f414c77..892e812a9 100644 --- a/xmake/modules/private/utils/batchcmds.lua +++ b/xmake/modules/private/utils/batchcmds.lua @@ -60,7 +60,7 @@ function _show(showtext, progress) local split = msg:split(sep, {plain = true, strict = true}) cprintf(table.concat(split, "...")) end - if math.floor(progress) == 100 then + if math.floor(progress:percent()) == 100 then print("") _g.showing_without_scroll = false else |
