aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-10-28 22:49:40 -0500
committerJack Nagel2014-10-28 22:49:40 -0500
commit44a53f7fdf251aa29f0bcb3f07481b7095a17acb (patch)
tree67770c3a7d11c4583f419c658a0bf45ddcc869b0 /Library
parent0101310c4881594e67a17db05a00b7258e448e4b (diff)
downloadhomebrew-44a53f7fdf251aa29f0bcb3f07481b7095a17acb.tar.bz2
real_cellar cannot be nil
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 743cd5a9c..411c20a34 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -661,7 +661,7 @@ def check_for_config_scripts
paths.each do |p|
next if whitelist.include? p.downcase
- next if p =~ %r[^(#{real_cellar.to_s}|#{HOMEBREW_CELLAR.to_s})] if real_cellar
+ next if p =~ %r[^(#{real_cellar.to_s}|#{HOMEBREW_CELLAR.to_s})]
configs = Dir["#{p}/*-config"]
config_scripts << [p, configs.map { |c| File.basename(c) }] unless configs.empty?