summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-29 09:32:49 +0800
committerruki <[email protected]>2020-11-29 09:32:49 +0800
commitfa33e5bfa2ff0cee4ebaf2bc76777e1cc8260c25 (patch)
tree0e4ff692408def2e2afa8b2a549885cc751611ed
parent65b5479b3a78c1942f590e09286b1cb043fcbebd (diff)
add debug info for configfiles
-rw-r--r--xmake/actions/config/configfiles.lua3
1 files changed, 3 insertions, 0 deletions
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)