From fa33e5bfa2ff0cee4ebaf2bc76777e1cc8260c25 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 29 Nov 2020 09:32:49 +0800 Subject: add debug info for configfiles --- xmake/actions/config/configfiles.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xmake/actions/config/configfiles.lua b/xmake/actions/config/configfiles.lua index 85ee477fb..f21e4684b 100644 --- a/xmake/actions/config/configfiles.lua +++ b/xmake/actions/config/configfiles.lua @@ -226,6 +226,9 @@ function _generate_configfile(srcfile, dstfile, fileinfo, targets) assert(value ~= nil, "cannot get variable(%s) in %s.", variable, srcfile) end dprint(" > replace %s -> %s", variable, value) + if type(value) == "table" then + dprint("invalid variable value", value) + end return value end) -- cgit v1.3.1