typechecking, clearer env usage
Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
parent
1881a1f4bc
commit
a99100bb6d
@ -420,7 +420,7 @@ EOS
|
|||||||
then
|
then
|
||||||
# we cannot install `gh` if homebrew/core is unavailable.
|
# we cannot install `gh` if homebrew/core is unavailable.
|
||||||
# we don't enable attestations on `gh` itself, to prevent a bootstrap cycle.
|
# we don't enable attestations on `gh` itself, to prevent a bootstrap cycle.
|
||||||
if [[ -z "${HOMEBREW_CORE_AVAILABLE}" ]] || ! HOMEBREW_VERIFY_ATTESTATIONS='' brew install gh
|
if [[ -z "${HOMEBREW_CORE_AVAILABLE}" ]] || ! env -u HOMEBREW_VERIFY_ATTESTATIONS brew install gh
|
||||||
then
|
then
|
||||||
odie "'gh' must be installed and in your PATH!"
|
odie "'gh' must be installed and in your PATH!"
|
||||||
fi
|
fi
|
||||||
|
@ -260,5 +260,8 @@ module Homebrew::EnvConfig
|
|||||||
|
|
||||||
sig { returns(T::Boolean) }
|
sig { returns(T::Boolean) }
|
||||||
def verbose_using_dots?; end
|
def verbose_using_dots?; end
|
||||||
|
|
||||||
|
sig { returns(T::Boolean) }
|
||||||
|
def verify_attestations?; end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user