Skip to content
Snippets Groups Projects
Commit 2bca6fb3 authored by Misty De Meo's avatar Misty De Meo
Browse files

check_non_libraries: fix false positive subdirectory reports

parent 744e7dd1
No related branches found
No related tags found
No related merge requests found
......@@ -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?
......
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