cmd/fetch: restore --HEAD functionality

This commit is contained in:
Eric Knibbe 2023-10-07 10:50:03 -04:00
parent 8f7e06ab6f
commit 075ee81ab7
No known key found for this signature in database
GPG Key ID: 179D9CDDDB814168

View File

@ -100,7 +100,7 @@ module Homebrew
os_arch_combinations.each do |os, arch|
SimulateSystem.with os: os, arch: arch do
Formulary.clear_cache
formula = Formulary.factory(ref)
formula = Formulary.factory(ref, args.HEAD? ? :head : :stable)
formula.print_tap_action verb: "Fetching"