From f9f879e7ee6d52a07add24bb38ec299ce789d10d Mon Sep 17 00:00:00 2001 From: Shane C Date: Thu, 4 Jul 2024 16:44:26 -0400 Subject: [PATCH] remove command check in runner --- linux/run.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/linux/run.go b/linux/run.go index 321599b..f214f2e 100644 --- a/linux/run.go +++ b/linux/run.go @@ -37,15 +37,6 @@ func (cmd *LinuxCommand) Run() error { command.Env = append(command.Env, fmt.Sprintf("%s=%s", key, value)) } - commandExists, err := cmd.doesCommandExist(cmd.Options.Command) - if err != nil { - return err - } - - if !commandExists { - return ErrCommandNotFound - } - if err := command.Start(); err != nil { var exitErr *exec.ExitError if errors.As(err, &exitErr) {