mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Tolerate ending slash when running staticcheck
This commit is contained in:
parent
37651f1cef
commit
b2751cf821
@ -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=(
|
||||||
|
Loading…
Reference in New Issue
Block a user