summaryrefslogtreecommitdiff
path: root/xmake
diff options
context:
space:
mode:
Diffstat (limited to 'xmake')
-rw-r--r--xmake/actions/require/action/download.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/actions/require/action/download.lua b/xmake/actions/require/action/download.lua
index 1b32b6ec4..1b6192793 100644
--- a/xmake/actions/require/action/download.lua
+++ b/xmake/actions/require/action/download.lua
@@ -187,10 +187,11 @@ function main(package)
end
-- trace
+ printf("\r" .. _emptychars())
if git.checkurl(url) then
- cprint("\r${yellow} => ${clear}clone %s %s .. ${red}failed%s", url, package:version_str(), _emptychars())
+ cprint("\r${yellow} => ${clear}clone %s %s .. ${red}failed", url, package:version_str())
else
- cprint("\r${yellow} => ${clear}download %s .. ${red}failed%s", url, _emptychars())
+ cprint("\r${yellow} => ${clear}download %s .. ${red}failed", url)
end
-- failed? break it