mirror of
https://github.com/ludeeus/action-shellcheck.git
synced 2025-01-18 17:41:58 +01:00
take both
This commit is contained in:
parent
6eb62923bc
commit
acc4e4fe97
@ -11,8 +11,9 @@ statuscode=0
|
|||||||
|
|
||||||
excludes+=( ! -path *./.git/* )
|
excludes+=( ! -path *./.git/* )
|
||||||
for path in ${INPUT_IGNORE}; do
|
for path in ${INPUT_IGNORE}; do
|
||||||
echo "::debug:: Adding '*./${path}/*' to excludes"
|
echo "::debug:: Adding '${path}' to excludes"
|
||||||
excludes+=(! -path "*./${path}/*" )
|
excludes+=(! -path "*./${path}/*" )
|
||||||
|
excludes+=(! -path "*/${path}/*" )
|
||||||
done
|
done
|
||||||
|
|
||||||
readarray -d '' filepaths < <(find . "${excludes[@]}" \
|
readarray -d '' filepaths < <(find . "${excludes[@]}" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user