dev-cmd/pr-pull: require unzip to be installed

This commit is contained in:
Bo Anderson 2022-03-02 05:19:41 +00:00
parent 0afd0d774a
commit ddeadaefce
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -335,6 +335,9 @@ module Homebrew
def pr_pull
args = pr_pull_args.parse
# Needed when extracting the CI artifact.
ensure_executable!("unzip", reason: "extracting CI artifacts")
workflows = args.workflows.presence || ["tests.yml"]
artifact = args.artifact || "bottles"
tap = Tap.fetch(args.tap || CoreTap.instance.name)