Skip to content

Commit

Permalink
Merge pull request #169 from skogsbaer/wait-save-on-run
Browse files Browse the repository at this point in the history
Also wait for save on regular execution
  • Loading branch information
skogsbaer authored Dec 5, 2024
2 parents 7aa49e0 + 1ca910f commit 75bc36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ export function activate(context: vscode.ExtensionContext) {
vscode.window.showWarningMessage('Not a python file');
return;
}
vscode.window.activeTextEditor?.document.save();
await vscode.window.activeTextEditor?.document.save();
const pyCmd = getPythonCmd(pyExt);
let verboseOpt = "";
if (isDebug(context)) {
Expand Down

0 comments on commit 75bc36d

Please sign in to comment.