From 73164da00f143002aba05d1d484fd31929448eb9 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 5 Nov 2025 22:29:54 +0800 Subject: fix logs --- xmake/core/base/os.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index a8338f470..f602e2df7 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -648,7 +648,7 @@ function os.cd(dir) -- we can only change directory in main thread if not xmake.in_main_thread() then local thread = require("base/thread") - os.raise("we cannot change directory in non-main thread(%s)", thread.running()) + os.raise("we cannot change directory in non-main thread(%s)", thread.running() or "unknown") end -- support path instance -- cgit v1.3.1