aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/brew.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/brew.rb')
-rw-r--r--Library/Homebrew/brew.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/Library/Homebrew/brew.rb b/Library/Homebrew/brew.rb
index 4a72c7e55..11ea8df67 100644
--- a/Library/Homebrew/brew.rb
+++ b/Library/Homebrew/brew.rb
@@ -21,14 +21,6 @@ if ARGV == %w[--version] || ARGV == %w[-v]
exit 0
end
-def require?(path)
- return false if path.nil?
- require path
-rescue LoadError => e
- # we should raise on syntax errors but not if the file doesn't exist.
- raise unless e.message.include?(path)
-end
-
begin
trap("INT", std_trap) # restore default CTRL-C handler