From 5958370a7f477332240f079dede6238c32217725 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sun, 3 Apr 2022 22:30:03 -0400 Subject: [PATCH] fix: remove extra newline after error --- exec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec.go b/exec.go index 0e08cd5..2b40df0 100644 --- a/exec.go +++ b/exec.go @@ -192,7 +192,7 @@ func execCommand(cmd string, terminalOut bool) (io.Writer, io.Writer, error) { if commands[args[0]] != nil { luaexitcode, err := rt.Call1(l.MainThread(), rt.FunctionValue(commands[args[0]]), rt.TableValue(luacmdArgs)) if err != nil { - fmt.Fprintln(os.Stderr, "Error in command:\n\n" + err.Error()) + fmt.Fprintln(os.Stderr, "Error in command:\n" + err.Error()) return interp.NewExitStatus(1) }