Fix --force flag.

This commit is contained in:
Markus Reiter 2024-07-14 23:22:04 -04:00
parent b55528b825
commit 601134b047
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -223,6 +223,8 @@ module Homebrew
end
def fetch_downloadable(downloadable)
downloadable.clear_cache if args.force?
downloads[downloadable] ||= download_queue.enqueue(RetryableDownload.new(downloadable))
end
end