Skip to content

Commit 5761a80

Browse files
lafriksldez
authored andcommitted
Fix default output
1 parent 38ff2e7 commit 5761a80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/commands/run.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ func (e *Executor) runAndPrint(ctx context.Context, args []string) error {
439439
}
440440

441441
func (e *Executor) createWriter(path string) (io.Writer, bool, error) {
442-
if path == "stdout" {
442+
if path == "" || path == "stdout" {
443443
return logutils.StdOut, false, nil
444444
}
445445
if path == "stderr" {

0 commit comments

Comments
 (0)