File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
eng/common/scripts/Helpers Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -180,14 +180,15 @@ function Set-ApiViewCommentForPR {
180
180
$commentText += " APIView identified API level changes in this PR and created the following API reviews"
181
181
$commentText += " "
182
182
183
+ $responseContent = $response.Content | ConvertFrom-Json
183
184
if ($RepoName.StartsWith ((" azure-sdk-for-" ))) {
184
- $response | ForEach-Object {
185
+ $responseContent | ForEach-Object {
185
186
$commentText += " [$ ( $_.packageName ) ]($ ( $_.url ) )"
186
187
}
187
188
} else {
188
189
$commentText += " | Language | API Review for Package |"
189
190
$commentText += " |----------|---------|"
190
- $response | ForEach-Object {
191
+ $responseContent | ForEach-Object {
191
192
$commentText += " | $ ( $_.language ) | [$ ( $_.packageName ) ]($ ( $_.url ) ) |"
192
193
}
193
194
}
You can’t perform that action at this time.
0 commit comments