aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorJack Nagel2014-10-31 18:33:39 -0500
committerJack Nagel2014-10-31 18:33:39 -0500
commit9a356fc6091a7343f5e4db6c9660e04aa08c716c (patch)
tree0a222388b12ca2b13396e7881d061fd0a69095fa /Library/Homebrew/exceptions.rb
parentf55ad864e0250c5c2911a8ff6037d8416044078d (diff)
downloadbrew-9a356fc6091a7343f5e4db6c9660e04aa08c716c.tar.bz2
Remove FormulaAlreadyInstalledError
install is the only command that can trigger this warning, so it should be handled before instantiating the installer.
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index 100effdbd..d938b52e2 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -81,8 +81,6 @@ end
class CannotInstallFormulaError < RuntimeError; end
-class FormulaAlreadyInstalledError < RuntimeError; end
-
class FormulaInstallationAlreadyAttemptedError < RuntimeError
def initialize(formula)
super "Formula installation already attempted: #{formula.name}"