From a38548ecd4d5557b1d00167af97b2b92c613fa86 Mon Sep 17 00:00:00 2001 From: Sebastian Tiedtke Date: Mon, 2 Dec 2024 09:50:14 -0800 Subject: [PATCH] Properly parse always and never --- internal/cmd/common.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cmd/common.go b/internal/cmd/common.go index d43656c87..cadd28637 100644 --- a/internal/cmd/common.go +++ b/internal/cmd/common.go @@ -396,9 +396,9 @@ func resolveRequestMode(cellMode string) *runnerv1.ResolveProgramRequest_Mode { switch strings.ToLower(cellMode) { case "auto": mode = runnerv1.ResolveProgramRequest_MODE_UNSPECIFIED - case "1", "true", "yes": + case "1", "true", "yes", "always": mode = runnerv1.ResolveProgramRequest_MODE_PROMPT_ALL - case "0", "false", "no": + case "0", "false", "no", "never": mode = runnerv1.ResolveProgramRequest_MODE_SKIP_ALL default: mode = runnerv1.ResolveProgramRequest_MODE_UNSPECIFIED