Skip to content

Commit

Permalink
fix(1398): Unnecessary log output for specific build images (#450)
Browse files Browse the repository at this point in the history
* fix: unnecessary log output for specific images

* go fmt
  • Loading branch information
ibu1224 authored Mar 8, 2023
1 parent cb5d807 commit 72a19f8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,12 @@ func Run(path string, env []string, emitter screwdriver.Emitter, build screwdriv
c.Dir = path
c.Env = append(env, c.Env...)

f, err := pty.Start(c)
// Set up the Cols of the virtual terminal
winSize := &pty.Winsize{
Cols: 200,
}

f, err := pty.StartWithSize(c, winSize)
if err != nil {
return fmt.Errorf("Cannot start shell: %v", err)
}
Expand Down

0 comments on commit 72a19f8

Please sign in to comment.