From 7d2b149206a53cb8f5bbfc7f3b70065a07faf11c Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 22 May 2025 22:11:58 +0800 Subject: Update find_vstudio.lua --- xmake/modules/detect/sdks/find_vstudio.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1