File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
cli/pkg/kctrl/cmd/app/release Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ func (r ReleaseCmdRunner) Run(cmd *goexec.Cmd) error {
35
35
r .ui .PrintHeaderText ("Building images and resolving references" )
36
36
}
37
37
38
- if filepath .Base (cmd .Path ) == "kapp" {
39
- return nil
40
- }
41
38
if filepath .Base (cmd .Path ) == "kbld" {
42
39
cmd .Args = append (cmd .Args , fmt .Sprintf ("--imgpkg-lock-output=%s" , r .tempImgLockFilepath ))
43
40
}
@@ -57,6 +54,10 @@ func (r ReleaseCmdRunner) Run(cmd *goexec.Cmd) error {
57
54
}
58
55
59
56
func (r ReleaseCmdRunner ) RunWithCancel (cmd * goexec.Cmd , cancelCh chan struct {}) error {
57
+ if filepath .Base (cmd .Path ) == "kapp" {
58
+ return nil
59
+ }
60
+
60
61
if r .fullOutput {
61
62
cmd .Stdout = io .MultiWriter (r .log , cmd .Stdout )
62
63
cmd .Stderr = io .MultiWriter (r .log , cmd .Stderr )
You can’t perform that action at this time.
0 commit comments