From 121d9abecdc7d4e923cfc5023519995938a6ccae Mon Sep 17 00:00:00 2001 From: n-i-x <440158+n-i-x@users.noreply.github.com> Date: Fri, 30 Aug 2024 15:24:45 -0400 Subject: [PATCH] fix: command not found in shell (#3438) --- runner/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner/parser.go b/runner/parser.go index 65891f5f..6fd64a4b 100644 --- a/runner/parser.go +++ b/runner/parser.go @@ -12,7 +12,7 @@ import ( func ParseCommand(s *settings.Settings, raw string) ([]string, error) { var command []string - if len(s.Shell) == 0 { + if len(s.Shell) == 0 || s.Shell[0] == "" { cmd, args, err := SplitCommandAndArgs(raw) if err != nil { return nil, err