From 9f2b25fb6b4682b0e82ca1bdcfc0ae24ff9e668d Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 1 Feb 2026 12:37:57 +0800 Subject: improve tips --- 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 be0eed658..0035a88ce 100644 --- a/xmake/modules/detect/sdks/find_vstudio.lua +++ b/xmake/modules/detect/sdks/find_vstudio.lua @@ -401,7 +401,7 @@ function _check_vcvarsall_env(vars) if value_org and value_new and #value_org > 0 then for _, p in ipairs(path.splitenv(value_org)) do if not value_new:find(p, 1, true) then - wprint("%%%s%% is too long and truncated, detect msvc may be failed, please clear some unused variables!\n > %s", name, p) + wprint("%%%s%% is too long and truncated, detect msvc may be failed, please clear some unused variables!\n > %s", name, p:sub(1, 1024)) break end end -- cgit v1.3.1