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
commit86ba6234edb5b4bf87a21310f596d3239fc06c89 (patch)
tree9aa3bca0fa23544be8589a452bd76c4b7a8e9bc4 /Library/Homebrew/exceptions.rb
parent3298d129a9eee1df86e375b6863ff81bb4b1a342 (diff)
downloadhomebrew-86ba6234edb5b4bf87a21310f596d3239fc06c89.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}"