From 35e648b7bc3269c3c52d804a4ce4627e58d03abd Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sun, 21 Nov 2021 18:50:35 -0500 Subject: [PATCH] style: remove extra whitespace --- shell.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/shell.go b/shell.go index 6a01c7c..d04d4a0 100644 --- a/shell.go +++ b/shell.go @@ -8,9 +8,8 @@ import ( "strings" "time" - // "github.com/bobappleyard/readline" "github.com/yuin/gopher-lua" - // "github.com/yuin/gopher-lua/parse" + //"github.com/yuin/gopher-lua/parse" "mvdan.cc/sh/v3/interp" "mvdan.cc/sh/v3/syntax" ) @@ -150,7 +149,7 @@ func execCommand(cmd string) error { hooks.Em.Emit("command.not-found", args[0]) return interp.NewExitStatus(127) } - + return interp.DefaultExecHandler(2 * time.Second)(ctx, args) } runner, _ := interp.New(