Skip to content

Commit 75bc36d

Browse files
authored
Merge pull request #169 from skogsbaer/wait-save-on-run
Also wait for save on regular execution
2 parents 7aa49e0 + 1ca910f commit 75bc36d

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)