From 5c48e4bf937691c2725dc93f135c8848d8986049 Mon Sep 17 00:00:00 2001 From: Electronic-Waste <2690692950@qq.com> Date: Mon, 9 Dec 2024 09:30:23 +0000 Subject: [PATCH] fix(codegen): move shell check annotation. Signed-off-by: Electronic-Waste <2690692950@qq.com> --- hack/update-codegen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 491f0ef24c5..59b4a26dbeb 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -27,8 +27,8 @@ CODEGEN_PKG=$(go list -m -mod=readonly -f "{{.Dir}}" k8s.io/code-generator) cd "$CURRENT_DIR/.." -# shellcheck source=/dev/null echo "${CODEGEN_PKG}" +# shellcheck source=/dev/null source "${CODEGEN_PKG}/kube_codegen.sh" echo "Generating conversion and defaults functions for config.kubeflow.org ..."