From 3eec448a822427939b5af22ed96bebce0c7c506f Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 27 Mar 2021 19:19:10 +0800 Subject: fix list --- xmake/modules/private/action/require/list.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.3.1