We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d71855e commit 8456c2eCopy full SHA for 8456c2e
eng/common/scripts/Helpers/ApiView-Helpers.ps1
@@ -171,8 +171,7 @@ function Set-ApiViewCommentForPR {
171
$response = Invoke-WebRequest -Uri $apiviewEndpoint -Method Get -MaximumRetryCount 3
172
if ($response.StatusCode -ne 200) {
173
LogWarning "API changes are not detected in this pull request."
174
- $commentText += ""
175
- $commentText += "API changes are not detected in this pull request."
+ exit 0
176
}
177
else {
178
LogSuccess "APIView identified API level changes in this PR and created $($response.Count) API reviews"
0 commit comments