2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-02 19:53:23 +00:00

style: remove extra whitespace

This commit is contained in:
TorchedSammy 2021-11-21 18:50:35 -05:00
parent 06272778f8
commit 35e648b7bc
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

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(