Skip to content

Commit 1ca910f

Browse files
committed
Also wait for save on regular execution
1 parent 7aa49e0 commit 1ca910f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ export function activate(context: vscode.ExtensionContext) {
364364
vscode.window.showWarningMessage('Not a python file');
365365
return;
366366
}
367-
vscode.window.activeTextEditor?.document.save();
367+
await vscode.window.activeTextEditor?.document.save();
368368
const pyCmd = getPythonCmd(pyExt);
369369
let verboseOpt = "";
370370
if (isDebug(context)) {

0 commit comments

Comments
 (0)