summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-01-07 23:27:12 +0800
committerruki <[email protected]>2021-01-07 23:27:12 +0800
commita0c961cf1ecf20172bccfccec82fd6444adb1b9e (patch)
tree4c402a8e4e8142bf5d9846915159bf4b8e5d7563
parent131105d7fcf17cc25ce3f65e8223706d5387cd0a (diff)
improve warns
-rw-r--r--xmake/core/sandbox/modules/import/core/project/project.lua2
1 files changed, 1 insertions, 1 deletions
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