Skip to content

Commit

Permalink
fix: reset lastService iterator
Browse files Browse the repository at this point in the history
This fixes the regression introduced in 5bcf820 where
serial deploys start at "Progress: Service 0 of 1 | Target 1 of 2"
  • Loading branch information
onebytegone committed Feb 22, 2024
1 parent 69ce9aa commit 86926d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service-web-cli/src/commands/runForEachDeploymentTarget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ export default async function runForEachDeploymentTarget(web: Web, serviceNames:
return true;
});

lastService = undefined;

for (let link of flatChain) {
if (lastService !== link[0]) {
currentService = currentService + 1;
Expand Down

0 comments on commit 86926d5

Please sign in to comment.