mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Merge pull request #81812 from Huang-Wei/fix-bug-staticcheck
Tolerate ending slash when running staticcheck
This commit is contained in:
commit
32d8b50fd8
@ -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