aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/reinstall.rb
diff options
context:
space:
mode:
authorMarkus Reiter2017-10-07 00:31:28 +0200
committerMarkus Reiter2017-10-08 16:10:37 +0200
commit175ca909ee1a5b57aa0cae2c879920511f311b14 (patch)
tree067464b4c08f4c16ca3439b533f06669a78c370c /Library/Homebrew/cmd/reinstall.rb
parent91ab116ace7f4f97d3440190463c93be9ec6d675 (diff)
downloadbrew-175ca909ee1a5b57aa0cae2c879920511f311b14.tar.bz2
Clean up code style and remove `.rubocop_todo.yml`.
Diffstat (limited to 'Library/Homebrew/cmd/reinstall.rb')
-rw-r--r--Library/Homebrew/cmd/reinstall.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb
index 94096d2dd..6727c0b6b 100644
--- a/Library/Homebrew/cmd/reinstall.rb
+++ b/Library/Homebrew/cmd/reinstall.rb
@@ -47,8 +47,8 @@ module Homebrew
fi.install
fi.finish
rescue FormulaInstallationAlreadyAttemptedError
- # next
- rescue Exception
+ return
+ rescue Exception # rubocop:disable Lint/RescueException
ignore_interrupts { restore_backup(keg, keg_was_linked) }
raise
else