summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/private/action/require/list.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/list.lua b/xmake/modules/private/action/require/list.lua
index da00a556c..1a7f92f64 100644
--- a/xmake/modules/private/action/require/list.lua
+++ b/xmake/modules/private/action/require/list.lua
@@ -82,7 +82,11 @@ function main()
local fetchinfo = instance:fetch()
if fetchinfo then
for name, info in pairs(fetchinfo) do
- cprint(" -> ${magenta}%s${clear}: %s", name, table.concat(table.wrap(info), " "))
+ if type(info) == "table" then
+ cprint(" -> ${magenta}%s${clear}: %s", name, table.concat(info, " "))
+ else
+ cprint(" -> ${magenta}%s${clear}: %s", name, tostring(info))
+ end
end
end
end