Skip to content

Commit

Permalink
temp fix for brew warning ruining everything
Browse files Browse the repository at this point in the history
  • Loading branch information
ciiqr committed Feb 14, 2024
1 parent bd2cd6a commit dcc1781
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion brew/brew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ brew::provision() {
declare brew_info
while [[ -z "$brew_info" || "$brew_info" == 'Error: No available formula'* ]]; do
declare exit_code='0'
brew_info="$(brew info --json=v2 "${brew_info_packages[@]}" 2>&1)" || exit_code="$?"
# TODO: fix proper
brew_info="$(brew info --json=v2 "${brew_info_packages[@]}" 2>/dev/null)" || exit_code="$?"

if [[ "$exit_code" == '0' ]]; then
break
Expand Down

0 comments on commit dcc1781

Please sign in to comment.