Skip to content

Commit

Permalink
Merge pull request #151 from kannan-cidc/fix/Issue_147
Browse files Browse the repository at this point in the history
Update WorkItemUpdater.ts
  • Loading branch information
BlueBasher authored Aug 21, 2024
2 parents 6f1667b + 21c3786 commit 87e8efb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/WorkItemUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ async function getBuildOrReleaseWorkItemsRefs(vstsWebApi: WebApi, settings: Sett
}

function pushWorkItemsRefs(workItemRefs: ResourceRef[], workItemRefsToAdd: ResourceRef[]) {
if (typeof workItemRefsToAdd == "undefined") {
workItemRefsToAdd = [];
}
workItemRefsToAdd.forEach((workItemRef: ResourceRef) => {
workItemRefs.push({
id: workItemRef.id.toString(),
Expand Down

0 comments on commit 87e8efb

Please sign in to comment.