api: fix handling of source downloads

This commit is contained in:
Bo Anderson 2025-07-31 05:40:40 +01:00
parent 4d0c3fa4df
commit c1c58741d6
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ module Homebrew
if download_queue
download_queue.enqueue(download)
elsif !download.cache.exist?
elsif !download.symlink_location.exist?
download.fetch
end

View File

@ -42,7 +42,7 @@ module Homebrew
if download_queue
download_queue.enqueue(download)
elsif !download.cache.exist?
elsif !download.symlink_location.exist?
download.fetch
end