summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-02-04 00:38:25 +0800
committerruki <[email protected]>2026-02-04 00:38:25 +0800
commit9abb15ab15b59d5c3376a39b1f6934f6f4f02233 (patch)
tree39277ec5511120f5a876c9f166dd554bb726099e
parent7d2e23f065373ebc7c171bd27f0e958ee716fea1 (diff)
format code
-rw-r--r--xmake/modules/detect/sdks/find_vstudio.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/xmake/modules/detect/sdks/find_vstudio.lua b/xmake/modules/detect/sdks/find_vstudio.lua
index ee4563bc5..43809aa53 100644
--- a/xmake/modules/detect/sdks/find_vstudio.lua
+++ b/xmake/modules/detect/sdks/find_vstudio.lua
@@ -29,8 +29,7 @@ import("lib.detect.find_directory")
import("core.cache.global_detectcache")
-- init vsvers
-local vsvers =
-{
+local vsvers = {
["18.0"] = "2026"
, ["17.0"] = "2022"
, ["16.0"] = "2019"
@@ -49,8 +48,7 @@ local vsvers =
}
-- init vsenvs
-local vsenvs =
-{
+local vsenvs = {
["18.0"] = "VS180COMNTOOLS"
, ["17.0"] = "VS170COMNTOOLS"
, ["16.0"] = "VS160COMNTOOLS"