Skip to content

Commit

Permalink
fix: clear cell output before cell executing (#1127)
Browse files Browse the repository at this point in the history
  • Loading branch information
scnwwu authored Aug 9, 2024
1 parent 1089fb8 commit 96a6023
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/components/notebook/Controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export class NotebookController {
const execution = this._controller.createNotebookCellExecution(cell);
execution.executionOrder = ++this._executionOrder;
execution.start(Date.now()); // Keep track of elapsed time to execute cell.
execution.clearOutput();

const session = getSession();
session.onExecutionLogFn = (logLines) => {
Expand Down

0 comments on commit 96a6023

Please sign in to comment.