mirror of https://github.com/Hilbis/Hilbish
Compare commits
1 Commits
3cbf80a3e5
...
a0ca212e69
Author | SHA1 | Date |
---|---|---|
sammyette | a0ca212e69 |
3
exec.go
3
exec.go
|
@ -175,9 +175,6 @@ func runLuaRunner(runr rt.Value, userInput string) (input string, exitCode uint8
|
|||
runnerRet := term.Get(0)
|
||||
if runner, ok = runnerRet.TryTable(); !ok {
|
||||
fmt.Fprintln(os.Stderr, "runner did not return a table")
|
||||
exitCode = 125
|
||||
input = userInput
|
||||
return
|
||||
}
|
||||
|
||||
if code, ok := runner.Get(rt.StringValue("exitCode")).TryInt(); ok {
|
||||
|
|
Loading…
Reference in New Issue