ci: skip shell check in vendor directory

skip shell check in vendor directories.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2021-11-15 12:42:47 +05:30 committed by mergify[bot]
parent ec34fdd505
commit 46c40fe5ad

View File

@ -22,7 +22,7 @@ function run_check() {
if [ -z "${regex}" ]; then
"$exe" "$@"
else
find . -path ./vendor -prune -o -regextype egrep -iregex "$regex" -print0 |
find . -path "*/vendor" -prune -o -regextype egrep -iregex "$regex" -print0 |
xargs -0rt -n1 "$exe" "$@"
fi
elif [ "$all_required" -eq 0 ]; then