Skip to content

Commit 94d1c3d

Browse files
Merge pull request #2873 from danielmellado/fix-shellcheck-exclude-tools-vendor
NO-ISSUE: exclude hack/tools/vendor from shellcheck
2 parents f5b016e + 4edda94 commit 94d1c3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hack/shellcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ if ! command -v shellcheck 2>/dev/null; then
3030
fi
3131

3232
TOP_DIR="${1:-.}"
33-
find "${TOP_DIR}" -path "${TOP_DIR}/vendor" -prune -o -path "${TOP_DIR}/jsonnet/vendor" -prune -o -path "${TOP_DIR}/test/monitoring/vendor" -prune -o -type f -name '*.sh' -exec shellcheck --format=gcc {} \+
33+
find "${TOP_DIR}" -path "${TOP_DIR}/vendor" -prune -o -path "${TOP_DIR}/jsonnet/vendor" -prune -o -path "${TOP_DIR}/test/monitoring/vendor" -prune -o -path "${TOP_DIR}/hack/tools/vendor" -prune -o -type f -name '*.sh' -exec shellcheck --format=gcc {} \+

0 commit comments

Comments
 (0)