mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +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
|
||||
|
||||
FOCUS="${1:-}"
|
||||
FOCUS="${FOCUS%/}" # Remove the ending "/"
|
||||
|
||||
# See https://staticcheck.io/docs/checks
|
||||
CHECKS=(
|
||||
|
Loading…
Reference in New Issue
Block a user