Merge pull request #15587 from p-linnane/remove-no-env-filtering-error

bin/brew: remove `HOMEBREW_NO_ENV_FILTERING` error
This commit is contained in:
Carlo Cabrera 2023-06-26 20:03:06 +08:00 committed by GitHub
commit 2ccdb26c45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,15 +19,6 @@ then
exit 1 exit 1
fi fi
# Fail fast with concise message when requesting unfiltered environment.
# This is basically odisabled so can be removed at any major release afterwards
# and definitely if this is still here in 2023.
if [[ -n "${HOMEBREW_NO_ENV_FILTERING:-}" ]]
then
echo "Error: HOMEBREW_NO_ENV_FILTERING was deprecated for over a year and has now been removed (because it breaks many things)!" >&2
exit 1
fi
quiet_cd() { quiet_cd() {
cd "$@" &>/dev/null || return cd "$@" &>/dev/null || return
} }