summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-05-06 00:49:49 +0800
committerruki <[email protected]>2021-05-06 00:49:49 +0800
commit26468546710f18cdc64f109d57677d370b8b146c (patch)
tree6a40289e2c11c9e05357fe9db32c357c7fb21505
parent3b414fadb934da19a1ec0c0ad50db09a0ddb56ee (diff)
improve dump color
-rw-r--r--xmake/modules/private/action/require/scan.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/scan.lua b/xmake/modules/private/action/require/scan.lua
index a038f9f9e..d098cc22b 100644
--- a/xmake/modules/private/action/require/scan.lua
+++ b/xmake/modules/private/action/require/scan.lua
@@ -33,7 +33,7 @@ function _scan_package(packagedir)
local package_name = path.filename(packagedir)
for _, versiondir in ipairs(os.dirs(path.join(packagedir, "*"))) do
local version = path.filename(versiondir)
- cprint("${magenta}%s-%s${clear}:", package_name, version)
+ cprint("${color.dump.string}%s-%s${clear}:", package_name, version)
-- show package hash
for _, hashdir in ipairs(os.dirs(path.join(versiondir, "*"))) do