Skip to content

Commit cff923d

Browse files
committed
[Pipeline templates] Fix syntax in update dependents template
1 parent 1b15340 commit cff923d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

azure-pipelines-templates/update-dependents.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,11 @@ steps:
126126
# Build the client_payload conditionally based on $usePreview
127127
if ($null -ne $usePreview)
128128
{
129-
$clientPayload = @{ usePreview = $usePreview, branchToPr = $env:BRANCH_TO_PR }
130-
129+
$clientPayload = @{
130+
usePreview = $usePreview;
131+
branchToPr = $env:BRANCH_TO_PR
132+
}
133+
131134
$eventType = "update-dependencies-develop"
132135
}
133136
else

0 commit comments

Comments
 (0)