Skip to content

Commit 300ced4

Browse files
azp: Fix rerun parameters changed button (#618)
1 parent 81f20ac commit 300ced4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/azure-pipelines-vscode-ext/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,6 @@ function activate(context) {
11331133
await new Promise((resolve) => {
11341134
setTimeout(resolve, 1);
11351135
});
1136-
inProgress = false;
11371136
askForInput = false;
11381137
if(self?.stopTask) {
11391138
task.warn("Parameters changed, please rerun the task when done");
@@ -1148,6 +1147,7 @@ function activate(context) {
11481147
if(!args.watch || self?.stopTask) {
11491148
close();
11501149
}
1150+
inProgress = false;
11511151
if(waiting) {
11521152
run(askForInput);
11531153
}

0 commit comments

Comments
 (0)