mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-02 19:53:23 +00:00
fix: remove debug logging
This commit is contained in:
parent
a413b28f2a
commit
7e5f9e9541
3
shell.go
3
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user