From 87327286d51e8f776e27baadb1eafc3b5382c7f1 Mon Sep 17 00:00:00 2001 From: Lim Chun Leng Date: Fri, 25 Nov 2022 19:38:49 +0900 Subject: [PATCH] Fix shellcommand error on sh shell (#1464) Co-authored-by: Lim Chun Leng --- pkg/model/workflow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/model/workflow.go b/pkg/model/workflow.go index 4e1d349..f567a1f 100644 --- a/pkg/model/workflow.go +++ b/pkg/model/workflow.go @@ -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":