Merge pull request #17505 from Homebrew/style_reject_sh_directory

This commit is contained in:
Mike McQuaid 2024-06-14 16:22:51 +01:00 committed by GitHub
commit 540c9f9534
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,7 @@ module Homebrew
shell_scripts
else
path.glob("**/*.sh")
.reject { |path| path.to_s.include?("/vendor/") }
.reject { |path| path.to_s.include?("/vendor/") || path.directory? }
end
actionlint_files += (path/".github/workflows").glob("*.y{,a}ml")
end