Skip to content

Conversation

MikeMcQuaid
Copy link
Member

The existing logic was insufficient so let's check the actual string.

Fixes #20326

The existing logic was insufficient so let's check the actual string.
@MikeMcQuaid MikeMcQuaid requested a review from carlocab July 29, 2025 14:19
Copy link
Member

@carlocab carlocab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure this is the right approach, since brew install prints caveats: #20326 (comment)

The right solution is probably to make sure the same caveats that are printed during brew install are also printed by brew info.

@MikeMcQuaid
Copy link
Member Author

The right solution is probably to make sure the same caveats that are printed during brew install are also printed by brew info.

@carlocab It's not because the output caveats are not the same. We intentionally don't repeatedly notify about ZSH completions being installed at install time.

Unless this doesn't fix the issue for your local reproduction (it does for me) or introduces a regression (please detail it), please ✅ this.

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Jul 30, 2025
Merged via the queue into main with commit cb1fe9a Jul 30, 2025
36 checks passed
@MikeMcQuaid MikeMcQuaid deleted the empty_caveats branch July 30, 2025 07:04
@carlocab
Copy link
Member

Sorry, missed this. Thanks! And thanks, @Rylan12!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

brew info prints ==> Caveats with no caveats under it for some formulae
3 participants