Skip to content

Commit

Permalink
fix: Fix sd-local display bug (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
yakanechi authored Nov 8, 2023
1 parent 483fb02 commit e3d4ffb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func doRunSetupCommand(emitter screwdriver.Emitter, f *os.File, r io.Reader, set
t string
err error
reader = bufio.NewReader(r)
reEcho = regexp.MustCompile("echo ;")
reEcho = regexp.MustCompile("^$")
)

shargs := strings.Join(setupCommands, " && ")
Expand Down Expand Up @@ -287,7 +287,7 @@ func Run(path string, env []string, emitter screwdriver.Emitter, build screwdriv
"EXITCODE=$?; " +
exportEnvCmd +
"echo $SD_STEP_ID $EXITCODE; }", //mv newfile to file
"trap finish ABRT EXIT;\necho ;\n",
"trap finish ABRT EXIT;\n\n",
}

setupReader := bufio.NewReader(f)
Expand Down

0 comments on commit e3d4ffb

Please sign in to comment.