diff options
| author | ruki <[email protected]> | 2021-05-08 14:22:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-05-08 14:22:41 +0800 |
| commit | ac075b699354bc72af7b6b80f07597860874ffd5 (patch) | |
| tree | 37e44b62b4847663dac760c11a2d98c5295c39c9 | |
| parent | 9a8d09da6bd66e7ee8277ad68e9cce5b3b1e2828 (diff) | |
improve lock tips
| -rw-r--r-- | xmake/core/sandbox/modules/import/core/project/project.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/sandbox/modules/import/core/project/project.lua b/xmake/core/sandbox/modules/import/core/project/project.lua index 52f38e68c..dcd78b205 100644 --- a/xmake/core/sandbox/modules/import/core/project/project.lua +++ b/xmake/core/sandbox/modules/import/core/project/project.lua @@ -136,6 +136,7 @@ function sandbox_core_project.lock(opt) return true elseif baseoption.get("diagnosis") then utils.cprint("${color.warning}the current project is being accessed by other processes, please waiting!") + io.flush() end local ok, errors = sandbox_core_project.filelock():lock(opt) if not ok then |
