diff options
| author | ruki <[email protected]> | 2021-03-27 19:19:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-03-27 19:19:10 +0800 |
| commit | 3eec448a822427939b5af22ed96bebce0c7c506f (patch) | |
| tree | 5d2453d7c3fb4638fa7dd2334c4d02e03373dc55 | |
| parent | 49953b37d748a0116626a74f87faebf198c2d688 (diff) | |
fix list
| -rw-r--r-- | xmake/modules/private/action/require/list.lua | 6 |
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 |
