style: remove extra whitespace

dev
TorchedSammy 2021-11-21 18:50:35 -05:00
parent 06272778f8
commit 35e648b7bc
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 2 additions and 3 deletions

View File

@ -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(