We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 415c55b commit 5fd5098Copy full SHA for 5fd5098
src/client/repl/replController.ts
@@ -24,10 +24,11 @@ export function createReplController(
24
exec.start(Date.now());
25
try {
26
const result = await server.execute(cell.document.getText());
27
-
28
- exec.replaceOutput([
29
- new vscode.NotebookCellOutput([vscode.NotebookCellOutputItem.text(result, 'text/plain')]),
30
- ]);
+ if (result !== '') {
+ exec.replaceOutput([
+ new vscode.NotebookCellOutput([vscode.NotebookCellOutputItem.text(result, 'text/plain')]),
+ ]);
31
+ }
32
exec.end(true);
33
} catch (err) {
34
const error = err as Error;
0 commit comments