Skip to content

Commit

Permalink
await workspace edit from feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykim1 committed May 16, 2024
1 parent 19e73b1 commit 03d6ed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/repl/replCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export async function registerReplCommands(
const notebookEdit = NotebookEdit.insertCells(cellCount, [notebookCellData]);
const workspaceEdit = new WorkspaceEdit();
workspaceEdit.set(notebookDocument.uri, [notebookEdit]);
workspace.applyEdit(workspaceEdit);
await workspace.applyEdit(workspaceEdit);

// Execute the cell
commands.executeCommand('notebook.cell.execute', {
Expand Down

0 comments on commit 03d6ed3

Please sign in to comment.