Skip to content

Commit d09a019

Browse files
bug: don't print to stdout, this break the sdk
1 parent 31d4f8d commit d09a019

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/builtin/builtin.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,6 @@ func SysExec(ctx context.Context, env []string, input string) (string, error) {
316316
cmd.Env = env
317317
cmd.Dir = params.Directory
318318
out, err := cmd.CombinedOutput()
319-
if err != nil {
320-
_, _ = os.Stdout.Write(out)
321-
}
322319
if err != nil {
323320
return string(out), fmt.Errorf("OUTPUT: %s, ERROR: %w", out, err)
324321
}

0 commit comments

Comments
 (0)