summaryrefslogtreecommitdiff
path: root/xmake/actions/require/impl/package.lua
diff options
context:
space:
mode:
authorRoy Ivy III <[email protected]>2020-02-22 20:32:11 -0600
committerRoy Ivy III <[email protected]>2020-02-22 20:37:57 -0600
commitd76b2b96872e3860af34b3256bc1df2189835829 (patch)
treefe17b4bbc5b5105f2cdd0840fe1b6d17e2d9602f /xmake/actions/require/impl/package.lua
parentf1a390e71d8c96ab005b01115e04ad109ea44d77 (diff)
change ~ remove unnecessary trailing `${clear}` from cprint()'s
Diffstat (limited to 'xmake/actions/require/impl/package.lua')
-rw-r--r--xmake/actions/require/impl/package.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/require/impl/package.lua b/xmake/actions/require/impl/package.lua
index 5954c14ac..9a96e34d6 100644
--- a/xmake/actions/require/impl/package.lua
+++ b/xmake/actions/require/impl/package.lua
@@ -680,12 +680,12 @@ function _install_packages(packages_install, packages_download)
-- trace
utils.clearline()
- cprintf("${yellow} => ${clear}")
+ cprintf("${yellow} => ")
if #downloading > 0 then
- cprintf("downloading ${magenta}%s${clear}", table.concat(downloading, ", "))
+ cprintf("downloading ${magenta}%s", table.concat(downloading, ", "))
end
if #installing > 0 then
- cprintf("%sinstalling ${magenta}%s${clear}", #downloading > 0 and ", " or "", table.concat(installing, ", "))
+ cprintf("%sinstalling ${magenta}%s", #downloading > 0 and ", " or "", table.concat(installing, ", "))
end
cprintf(" .. %s%s", tips and ("${dim}" .. tips .. "${clear} ") or "", waitchars[waitindex + 1])
io.flush()