Skip to content

Commit

Permalink
Also wait for save on regular execution
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesbraun committed Dec 5, 2024
1 parent 7aa49e0 commit 1ca910f
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 1ca910f

Please sign in to comment.