diff options
| author | ruki <[email protected]> | 2025-05-22 22:11:58 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-22 22:11:58 +0800 |
| commit | 7d2b149206a53cb8f5bbfc7f3b70065a07faf11c (patch) | |
| tree | bd169ff8f8a7cea21fec6720e57aeaa806947740 | |
| parent | 18046833f44c1531b33d4361397216ec7fe4f8ca (diff) | |
Update find_vstudio.lua
| -rw-r--r-- | xmake/modules/detect/sdks/find_vstudio.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_vstudio.lua b/xmake/modules/detect/sdks/find_vstudio.lua index d58886521..bf698c1b9 100644 --- a/xmake/modules/detect/sdks/find_vstudio.lua +++ b/xmake/modules/detect/sdks/find_vstudio.lua @@ -518,7 +518,7 @@ function _find_vstudio(opt) end if vswhere_VCAuxiliaryBuildDir then - for i, vc_path in ipairs(vswhere_VCAuxiliaryBuildDir) do + for _, vc_path in ipairs(vswhere_VCAuxiliaryBuildDir) do if os.isdir(vc_path) then table.insert(paths, 1, vc_path) end |
