attestation: fix comment

Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
William Woodruff 2024-07-18 12:06:37 -04:00
parent 5e5ea1c020
commit 493450a3ac
No known key found for this signature in database

View File

@ -118,8 +118,7 @@ module Homebrew
cmd += ["--cert-identity", signing_workflow] if signing_workflow.present?
# Fail early if we have no credentials. The command below invariably
# fails without them, so this saves us a network roundtrip before
# presenting the user with the same error.
# fails without them, so this saves us an unnecessary subshell.
credentials = GitHub::API.credentials
raise GhAuthNeeded, "missing credentials" if credentials.blank?