Homebrew / homebrew-bundle

📦 Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask and the Mac App Store.
MIT License
5.28k stars 283 forks source link

cleanup: exit 1 when any action would have been taken #1420

Closed ian-h-chamberlain closed 1 month ago

ian-h-chamberlain commented 1 month ago

Closes #1418

The exception is for brew cleanup action, since it's just an extra step that's not really related to the Brewfile contents.

I think this also fixes an issue where vscode uninstalls would not have printed the --force message — now they will also be considered for printing the message and the exit code.

MikeMcQuaid commented 1 month ago

Thanks so much for your first contribution! Without people like you submitting PRs we couldn't run this project. You rock, @ian-h-chamberlain!