summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/actions/require/info.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/actions/require/info.lua b/xmake/actions/require/info.lua
index a9ad796ef..23ba5edfc 100644
--- a/xmake/actions/require/info.lua
+++ b/xmake/actions/require/info.lua
@@ -160,6 +160,9 @@ function main(requires_raw)
local fetchinfo = instance:fetch()
if fetchinfo then
for name, info in pairs(fetchinfo) do
+ if type(info) ~= "table" then
+ info = tostring(info)
+ end
cprint(" -> ${magenta}%s${clear}: %s", name, table.concat(table.wrap(info), " "))
end
end