summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-04-27 22:28:23 +0800
committerruki <[email protected]>2022-04-27 22:28:23 +0800
commit48744c514a5d109d2127a401e37234300330e866 (patch)
treec9b699fc7468634f58c5dfb7cdf69a314e43d922
parentd75a62fc18d82d352cf32633facfb1c91cfae658 (diff)
fix getinfo
-rw-r--r--xmake/plugins/project/vsxmake/getinfo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua
index 60445a106..4c06dadfa 100644
--- a/xmake/plugins/project/vsxmake/getinfo.lua
+++ b/xmake/plugins/project/vsxmake/getinfo.lua
@@ -535,7 +535,7 @@ function main(outputdir, vsinfo)
path = path.is_absolute(escaped_f) and escaped_f or "$(XmakeProjectDir)\\" .. escaped_f,
dir = _escape(dir)
}
- while dir ~= "." do
+ while dir and dir ~= "." do
if not dirs[dir] then
dirs[dir] =
{