Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit aac1d8c

Browse files
committed
Store goalSetIds instead of goalSet to break loop
[changelog:fixed]
1 parent fcf5082 commit aac1d8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pack/goal-state/cancelGoals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export function cancelGoalSetsCommand(sdm: SoftwareDeliveryMachine): CommandHand
136136
let pgs = await pendingGoalSets(ci.context, sdm.configuration.name);
137137
while (pgs.length > 0) {
138138
for (const pg of pgs) {
139-
canceledGoalSets.push(pgs);
139+
canceledGoalSets.push(pg.goalSetId);
140140
await cancelGoalSet(pg.goalSetId, ci.context);
141141
}
142142
pgs = (await pendingGoalSets(ci.context, sdm.configuration.name))

0 commit comments

Comments
 (0)