aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/fetch.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/fetch.rb
parent91ab116ace7f4f97d3440190463c93be9ec6d675 (diff)
downloadbrew-175ca909ee1a5b57aa0cae2c879920511f311b14.tar.bz2
Clean up code style and remove `.rubocop_todo.yml`.
Diffstat (limited to 'Library/Homebrew/cmd/fetch.rb')
-rw-r--r--Library/Homebrew/cmd/fetch.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb
index 006c63746..411753992 100644
--- a/Library/Homebrew/cmd/fetch.rb
+++ b/Library/Homebrew/cmd/fetch.rb
@@ -49,8 +49,10 @@ module Homebrew
if fetch_bottle?(f)
begin
fetch_formula(f.bottle)
- rescue Exception => e
- raise if ARGV.homebrew_developer? || e.is_a?(Interrupt)
+ rescue Interrupt
+ raise
+ rescue => e
+ raise if ARGV.homebrew_developer?
fetched_bottle = false
onoe e.message
opoo "Bottle fetch failed: fetching the source."