mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
download_strategy: unlink the lock file after unlocking it
This commit is contained in:
parent
28a1497c2b
commit
37dcbbaf65
@ -326,6 +326,7 @@ class CurlDownloadStrategy < AbstractFileDownloadStrategy
|
|||||||
end
|
end
|
||||||
ensure
|
ensure
|
||||||
download_lock&.unlock
|
download_lock&.unlock
|
||||||
|
download_lock&.path&.unlink
|
||||||
end
|
end
|
||||||
|
|
||||||
def clear_cache
|
def clear_cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user