fix(repl): Extra newline in stdout bypass

This commit is contained in:
Leni Aniva 2025-07-08 14:29:37 -07:00
parent 2593c5bf60
commit 855a882f7b
Signed by: aniva
GPG Key ID: D5F96287843E8DFB
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ def execute (command: Protocol.Command): MainM Json := do
| .ok args => do
let (msg, result) ← IO.FS.withIsolatedStreams (isolateStderr := false) $ comm args
if !msg.isEmpty then
IO.eprintln s!"stdout: {msg}"
IO.eprint s!"stdout: {msg}"
match result with
| .ok result => return toJson result
| .error ierror => return toJson ierror