From 9cb43b97a9eb028c2d620ea82c196fdd3976316f Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 19 Nov 2020 22:54:45 +0800 Subject: fix require/info --- xmake/actions/require/info.lua | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.3.1