diff options
| author | Misty De Meo | 2017-05-29 20:51:35 -0700 |
|---|---|---|
| committer | GitHub | 2017-05-29 20:51:35 -0700 |
| commit | bfff7f9a6b3db41d3946ddfc7f3966072684981f (patch) | |
| tree | 10067b1134ea0c0dd1cab2844f7e278e9029dfa4 /Library/Homebrew | |
| parent | 744e7dd1907aaf6493e6e4622a5997b562bfbf17 (diff) | |
| parent | 2bca6fb3385a54b8bd91635f098210a295c7392d (diff) | |
| download | brew-bfff7f9a6b3db41d3946ddfc7f3966072684981f.tar.bz2 | |
Merge pull request #2696 from mistydemeo/fix_cellar_lib_check
check_non_libraries: fix false positive subdirectory reports
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula_cellar_checks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb index 4ec1e2e4c..3dbd1b9c4 100644 --- a/Library/Homebrew/formula_cellar_checks.rb +++ b/Library/Homebrew/formula_cellar_checks.rb @@ -62,7 +62,7 @@ module FormulaCellarChecks valid_extensions = %w[.a .dylib .framework .jnilib .la .o .so .jar .prl .pm .sh] non_libraries = formula.lib.children.reject do |g| - next if g.directory? + next true if g.directory? valid_extensions.include? g.extname end return if non_libraries.empty? |
