mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

Calls to `opoo` and `onoe` produce duplicate `Warning:` and `Error:` messages in CI logs because we print something to stdout and print an annotation. Annotations also produce `Error:` and `Warning:` lines in the log. Let's fix this by skipping printing the message if we've already printed an annotation.