Fix shellcommand error on sh shell (#1464)

Co-authored-by: Lim Chun Leng <[email protected]>
This commit is contained in:
Lim Chun Leng
2022-11-25 10:38:49 +00:00
committed by GitHub
co-authored by Lim Chun Leng
parent 3553b2697c
commit 87327286d5
+1 -1
View File
@@ -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":