From 7e5f9e9541ef760d9aac4bc76b6ae3f09118e1e8 Mon Sep 17 00:00:00 2001 From: sammyette <38820196+TorchedSammy@users.noreply.github.com> Date: Sat, 12 Jun 2021 10:41:51 -0400 Subject: [PATCH] fix: remove debug logging --- shell.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell.go b/shell.go index 707ce1a..d1c5793 100644 --- a/shell.go +++ b/shell.go @@ -33,11 +33,12 @@ func RunInput(input string) { fn, err := l.LoadString(cmdString) if err != nil && noexecute { fmt.Println(err) - if lerr, ok := err.(*lua.ApiError); ok { + /* if lerr, ok := err.(*lua.ApiError); ok { if perr, ok := lerr.Cause.(*parse.Error); ok { print(perr.Pos.Line == parse.EOF) } } + */ return } // And if there's no syntax errors and -n isnt provided, run