Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
s-yoshika committed Dec 26, 2023
1 parent ea288c7 commit 09a34bb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,12 @@ func copyLinesUntil(r io.Reader, w io.Writer, match string) (int, error) {
}

func doRunSetupCommand(guid string, emitter screwdriver.Emitter, f *os.File, r io.Reader, setupCommands []string) error {
var (
err error
)

shargs := strings.Join(setupCommands, " && ")

f.Write([]byte(shargs))

// ignore exit code in setup commands
_, err = copyLinesUntil(r, emitter, guid)
_, err := copyLinesUntil(r, emitter, guid)

return err
}
Expand Down

0 comments on commit 09a34bb

Please sign in to comment.