Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 30e5ad7

Browse files
committed
fix(packages/core): eliminate spurious console error messages
Fixes #3906
1 parent b8d4e51 commit 30e5ad7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/core/src/repl/exec.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,14 @@ class InProcessExecutor implements Executor {
376376
if (!response) {
377377
debug('warning: command handler returned nothing', commandUntrimmed)
378378
}
379-
const endEvent = { tab, execType, command: commandUntrimmed, response: response || true, execUUID }
379+
const endEvent = {
380+
tab,
381+
execType,
382+
command: commandUntrimmed,
383+
response: response || true,
384+
execUUID,
385+
echo: execOptions.echo
386+
}
380387
eventBus.emit(`/command/complete`, endEvent)
381388
eventBus.emit(`/command/complete/${getTabId(tab)}`, endEvent)
382389

0 commit comments

Comments
 (0)