style: reject *.sh directories.
Otherwise silly things happen like thinking formulae.brew.sh directories are files.
This commit is contained in:
parent
754c026dd4
commit
dcc5659a70
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user