Homebrew / homebrew-bundle

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

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

Closed ian-h-chamberlain closed 3 months ago

ian-h-chamberlain commented 3 months 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 3 months 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!