bin/brew: remove HOMEBREW_NO_ENV_FILTERING error

This commit is contained in:
Patrick Linnane 2023-06-25 11:47:42 -07:00
parent bb23116d3c
commit a7e23a27ae
No known key found for this signature in database
GPG Key ID: 9F26181A1866DA0D

View File

@ -19,15 +19,6 @@ then
exit 1
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() {
cd "$@" &>/dev/null || return
}