Skip to content

Commit 03d6ed3

Browse files
committed
await workspace edit from feedback
1 parent 19e73b1 commit 03d6ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/repl/replCommands.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export async function registerReplCommands(
9191
const notebookEdit = NotebookEdit.insertCells(cellCount, [notebookCellData]);
9292
const workspaceEdit = new WorkspaceEdit();
9393
workspaceEdit.set(notebookDocument.uri, [notebookEdit]);
94-
workspace.applyEdit(workspaceEdit);
94+
await workspace.applyEdit(workspaceEdit);
9595

9696
// Execute the cell
9797
commands.executeCommand('notebook.cell.execute', {

0 commit comments

Comments
 (0)