diff options
| author | ruki <[email protected]> | 2019-04-15 22:36:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-04-15 09:36:17 +0800 |
| commit | df6f2a231410fde1240170e45ea657a239409450 (patch) | |
| tree | 48868947baec4bbf446bc489ce0019bcb8df1ac5 | |
| parent | 0e5504dab9d7118226655ab93b0910e628e69a10 (diff) | |
improve require --scan
| -rw-r--r-- | xmake/actions/require/scan.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/require/scan.lua b/xmake/actions/require/scan.lua index 5fe377e54..f3c75888b 100644 --- a/xmake/actions/require/scan.lua +++ b/xmake/actions/require/scan.lua @@ -53,11 +53,11 @@ function _scan_package(packagedir) local manifest = os.isfile(manifest_file) and io.load(manifest_file) or nil cprintf(" -> ${yellow}%s${clear}: ${green}%s, %s${clear}", hash, manifest.plat, manifest.arch) if os.emptydir(hashdir) then - cprintf(" ${red}empty${clear}") + cprintf(", ${red}empty${clear}") elseif not referenced then - cprintf(" ${red}unused${clear}") + cprintf(", ${red}unused${clear}") elseif not manifest then - cprintf(" ${red}invalid${clear}") + cprintf(", ${red}invalid${clear}") end print("") if manifest and manifest.configs then |
