Skip to content
Snippets Groups Projects
Commit d7de5b6e authored by Jack Nagel's avatar Jack Nagel
Browse files

real_cellar cannot be nil

parent 7557cc16
No related branches found
No related tags found
No related merge requests found
......@@ -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?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment