From a0c961cf1ecf20172bccfccec82fd6444adb1b9e Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 7 Jan 2021 23:27:12 +0800 Subject: improve warns --- xmake/core/sandbox/modules/import/core/project/project.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/core/sandbox/modules/import/core/project/project.lua b/xmake/core/sandbox/modules/import/core/project/project.lua index a72bd5f92..11bbb3a19 100644 --- a/xmake/core/sandbox/modules/import/core/project/project.lua +++ b/xmake/core/sandbox/modules/import/core/project/project.lua @@ -134,7 +134,7 @@ function sandbox_core_project.lock(opt) if sandbox_core_project.trylock(opt) then return true elseif baseoption.get("diagnosis") then - utils.warning("the current project is being accessed by other processes, please waiting!") + utils.cprint("${color.warning}the current project is being accessed by other processes, please waiting!") end local ok, errors = sandbox_core_project.filelock():lock(opt) if not ok then -- cgit v1.3.1