From 9cb3804adc7659a89fb6ba2a16eaa696107a75b2 Mon Sep 17 00:00:00 2001 From: Shipmates-CI Date: Mon, 11 Dec 2023 13:11:22 -0600 Subject: [PATCH] modified comments Signed-off-by: Shipmates-CI --- src/cmd/tools/helm.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/tools/helm.go b/src/cmd/tools/helm.go index 2a3b301595..ecc6243a6d 100644 --- a/src/cmd/tools/helm.go +++ b/src/cmd/tools/helm.go @@ -15,9 +15,9 @@ import ( func init() { actionConfig := new(action.Configuration) - // Since helm needs args passed into it, check if we are processing things on a command with fewer args + // if no args passed use empty set of args if len(os.Args) < 3 { - return + os.Args = append(os.Args, "") } // The inclusion of Helm in this manner should be reconsidered once https://github.com/helm/helm/issues/12122 is resolved