mirror of
https://github.com/ludeeus/action-shellcheck.git
synced 2025-01-18 17:41:58 +01:00
Fix remnants of tests
This commit is contained in:
parent
a1eeadd7ec
commit
c07d062aa5
@ -37,7 +37,7 @@ readarray -d '' filepaths < <(find . '(' \
|
|||||||
-print0)
|
-print0)
|
||||||
|
|
||||||
|
|
||||||
readarray -d '' tmp < <(find . -type f ! -name '*.sh' -perm /111 -print0)
|
readarray -d '' tmp < <(find . -type f ! -name '*.*' -perm /111 -print0)
|
||||||
for file in "${tmp[@]}"; do
|
for file in "${tmp[@]}"; do
|
||||||
head -n1 "$file" | grep -Eqs "^#! */[^ ]*/[abkz]*sh" || continue
|
head -n1 "$file" | grep -Eqs "^#! */[^ ]*/[abkz]*sh" || continue
|
||||||
filepaths+=("$file")
|
filepaths+=("$file")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user