mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-19 02:47:27 +02:00
Feat: add --strip-args-values-on-exit-error (#887)
* Add --strip-args-values-on-exit-error Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
@@ -74,7 +74,7 @@ Usage: helm template [NAME] [CHART] [flags]
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
w := &bytes.Buffer{}
|
||||
got, err := LiveOutput(context.Background(), tt.cmd, w)
|
||||
got, err := LiveOutput(context.Background(), tt.cmd, false, w)
|
||||
if (err != nil) != tt.wantErr {
|
||||
t.Errorf("LiveOutput() error = %v, wantErr %v", err, tt.wantErr)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user