Skip to content

Commit 96a6023

Browse files
authored
fix: clear cell output before cell executing (#1127)
1 parent 1089fb8 commit 96a6023

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/src/components/notebook/Controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export class NotebookController {
6060
const execution = this._controller.createNotebookCellExecution(cell);
6161
execution.executionOrder = ++this._executionOrder;
6262
execution.start(Date.now()); // Keep track of elapsed time to execute cell.
63+
execution.clearOutput();
6364

6465
const session = getSession();
6566
session.onExecutionLogFn = (logLines) => {

0 commit comments

Comments
 (0)