We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95a88de commit ac75bd5Copy full SHA for ac75bd5
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