mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-25 07:40:19 +00:00
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:
parent
ec34fdd505
commit
46c40fe5ad
@ -22,7 +22,7 @@ function run_check() {
|
|||||||
if [ -z "${regex}" ]; then
|
if [ -z "${regex}" ]; then
|
||||||
"$exe" "$@"
|
"$exe" "$@"
|
||||||
else
|
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" "$@"
|
xargs -0rt -n1 "$exe" "$@"
|
||||||
fi
|
fi
|
||||||
elif [ "$all_required" -eq 0 ]; then
|
elif [ "$all_required" -eq 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user