man: allow command to run when HOMEBREW_SILICON_DEVELOPER is set

This commit is contained in:
Dustin Rodrigues 2021-02-01 12:46:42 -05:00
parent 8de10a05bb
commit 05d9628d05

View File

@ -35,7 +35,9 @@ module Homebrew
def man
# TODO: update description above if removing this.
raise UsageError, "not (yet) working on Apple Silicon!" if Hardware::CPU.arm?
if !ENV["HOMEBREW_SILICON_DEVELOPER"] && Hardware::CPU.arm?
raise UsageError, "not (yet) working on Apple Silicon!"
end
args = man_args.parse