mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-03 03:38:15 +00:00
Tolerate ending slash when running staticcheck
This commit is contained in:
@@ -25,6 +25,7 @@ source "${KUBE_ROOT}/hack/lib/util.sh"
|
|||||||
kube::golang::verify_go_version
|
kube::golang::verify_go_version
|
||||||
|
|
||||||
FOCUS="${1:-}"
|
FOCUS="${1:-}"
|
||||||
|
FOCUS="${FOCUS%/}" # Remove the ending "/"
|
||||||
|
|
||||||
# See https://staticcheck.io/docs/checks
|
# See https://staticcheck.io/docs/checks
|
||||||
CHECKS=(
|
CHECKS=(
|
||||||
|
|||||||
Reference in New Issue
Block a user