1
0
Fork 0
mirror of https://github.com/ludeeus/action-shellcheck.git synced 2024-08-16 10:09:53 +02:00

Fix substitution issue

This commit is contained in:
Ludeeus 2020-10-25 21:06:05 +01:00
parent 02daeb3604
commit d586102c11

View file

@ -143,7 +143,7 @@ runs:
filepaths+=("$path");
done
for file in $(find "${{ inputs.scandir }}" ${{ steps.exclude.outputs.excludes }} -type f ! -name '*.*' -perm /111 -print0); do
for file in $(find "${{ inputs.scandir }}" ${{ steps.exclude.outputs.excludes }} -type f ! -name '*.*' -perm /111 -print); do
head -n1 "$file" | grep -Eqs "$shebangregex" || continue
filepaths+=("$file");
done