Skip to content

Commit

Permalink
Fix shellcommand error on sh shell (#1464)
Browse files Browse the repository at this point in the history
Co-authored-by: Lim Chun Leng <limchunleng@gmail.com>
  • Loading branch information
chunleng and chunleng committed Nov 25, 2022
1 parent 3553b26 commit 8732728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/model/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ func (s *Step) ShellCommand() string {
case "python":
shellCommand = "python {0}"
case "sh":
shellCommand = "sh -e -c {0}"
shellCommand = "sh -e {0}"
case "cmd":
shellCommand = "%ComSpec% /D /E:ON /V:OFF /S /C \"CALL \"{0}\"\""
case "powershell":
Expand Down

0 comments on commit 8732728

Please sign in to comment.