diff options
| author | ruki <[email protected]> | 2018-12-20 22:30:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-12-20 09:04:58 +0800 |
| commit | c68cf15bf9716576076507643a45bf1adc48f0ea (patch) | |
| tree | 549de08f692947c5270ee68c84a557217e91284a | |
| parent | fb8899cf630d5ccea014ce16adcceb62c9565eb1 (diff) | |
erase tail chars when updating xmake
| -rw-r--r-- | xmake/actions/update/main.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua index 7d2f9aced..98c3f570d 100644 --- a/xmake/actions/update/main.lua +++ b/xmake/actions/update/main.lua @@ -191,7 +191,7 @@ function _install(sourcedir, version) -- trace if ok then - cprint("\r${yellow} => ${clear}install to %s .. ${green}ok", installdir) + cprint("\r${yellow} => ${clear}install to %s .. ${green}ok ", installdir) else raise("install failed!") end @@ -300,10 +300,10 @@ function main() } } if ok then - cprint("\r${yellow} => ${clear}download %s .. ${green}ok", url) + cprint("\r${yellow} => ${clear}download %s .. ${green}ok ", url) break else - cprint("\r${yellow} => ${clear}download %s .. ${red}failed", url) + cprint("\r${yellow} => ${clear}download %s .. ${red}failed ", url) end if not ok and idx == #mainurls then raise("download failed!") |
