File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,11 @@ set -o pipefail
21
21
KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
22
22
cd " $KUBE_ROOT "
23
23
24
- # WARNING: we exclude the following paths from linting
25
- # because the CI lacks the required golang version (1.20)
26
- EXCLUDE_PATHS=(" util-images/watch-list" )
27
-
28
- if [[ ${# EXCLUDE_PATHS[@]} -ne 0 ]]; then
29
- echo " WARNING: The following paths will be excluded from linting: ${EXCLUDE_PATHS[@]} "
30
- fi
31
-
32
24
# Find all directories with go.mod file,
33
25
# exluding go.mod from vendor/ and _logviewer
34
26
MODULE_BASED=$( find . -type d -name vendor -prune \
35
27
-o -type f -name go.mod -printf " %h\n" \
36
- | sort -u \
37
- | grep -v -E $( printf -- " -e %s\n" " ${EXCLUDE_PATHS[@]} " ) )
28
+ | sort -u)
38
29
39
30
set +x
40
31
status=0
You can’t perform that action at this time.
0 commit comments