summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/vsxmake/getinfo.lua
diff options
context:
space:
mode:
authorA2va <[email protected]>2025-06-24 18:16:45 +0200
committerA2va <[email protected]>2025-06-24 18:16:45 +0200
commiteea61210c8c9daf0a69f9787c2f36920052ef6eb (patch)
treeaf4e6377d8db12cd9335af7b9725a2740c980f7e /xmake/plugins/project/vsxmake/getinfo.lua
parent821fb017575b8e2bbff260a9c29fa2f4a74991a6 (diff)
Use pairs iterator for project.options instead of ipairs
Diffstat (limited to 'xmake/plugins/project/vsxmake/getinfo.lua')
-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 670f5d994..39e1f1d06 100644
--- a/xmake/plugins/project/vsxmake/getinfo.lua
+++ b/xmake/plugins/project/vsxmake/getinfo.lua
@@ -454,7 +454,7 @@ function main(outputdir, vsinfo)
config.set("arch", arch, {readonly = true, force = true})
-- clear all options
- for _, opt in ipairs(project.options()) do
+ for _, opt in pairs(project.options()) do
opt:clear()
end