diff options
| author | ruki <[email protected]> | 2024-07-19 23:43:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-07-19 23:43:37 +0800 |
| commit | 621441fbd2f0f1792aa2fb03aa7c485793003820 (patch) | |
| tree | 11c2fd681cfc09da9a11e7425fa662bbb13a0966 | |
| parent | 835d8e7bc6e5488c5e9fcb88b8fa56f4f4694e38 (diff) | |
fix clean -a
| -rw-r--r-- | xmake/actions/clean/main.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/actions/clean/main.lua b/xmake/actions/clean/main.lua index 4d149584e..413a3121e 100644 --- a/xmake/actions/clean/main.lua +++ b/xmake/actions/clean/main.lua @@ -115,6 +115,8 @@ end -- clean configuration cache function _clean_configs() if option.get("all") then + -- we need to close it first after removing file lock + project.filelock():close() remove_files(config.directory()) end end |
