diff options
| author | Jack Nagel | 2014-10-28 22:49:40 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-10-28 22:49:40 -0500 |
| commit | d7de5b6e240ff6c49e874a857ba8d439dc0e2eb7 (patch) | |
| tree | a8c853dbe04882e070a1c0b6d7ce5b5db86d5c62 /Library | |
| parent | 7557cc168313e3340e663ab7d14b0238cb4fb8eb (diff) | |
| download | brew-d7de5b6e240ff6c49e874a857ba8d439dc0e2eb7.tar.bz2 | |
real_cellar cannot be nil
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
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? |
