diff options
| author | ruki <[email protected]> | 2023-09-14 22:51:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-14 22:51:26 +0800 |
| commit | 5de885e1b7b2ac1b9229591d32c86d96083931af (patch) | |
| tree | 1777ff54cf513dec200f4b9b33f5cf6b1c78e988 | |
| parent | a625151a9d8677ac5856bbc89d62708fed92fd85 (diff) | |
fix change count
| -rw-r--r-- | xmake/modules/private/service/remote_build/client.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/private/service/remote_build/client.lua b/xmake/modules/private/service/remote_build/client.lua index 3c42af2ea..b514a366f 100644 --- a/xmake/modules/private/service/remote_build/client.lua +++ b/xmake/modules/private/service/remote_build/client.lua @@ -485,20 +485,20 @@ function remote_build_client:_diff_files(stream, opt) for _, fileitem in ipairs(result.inserted) do if count < 8 then cprint(" ${green}[+]: ${clear}%s", fileitem) - count = count + 1 end + count = count + 1 end for _, fileitem in ipairs(result.modified) do if count < 8 then cprint(" ${yellow}[*]: ${clear}%s", fileitem) - count = count + 1 end + count = count + 1 end for _, fileitem in ipairs(result.removed) do if count < 8 then cprint(" ${red}[-]: ${clear}%s", fileitem) - count = count + 1 end + count = count + 1 end if count >= 8 then print(" ...") |
