File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Cake.AzureDevOps/Repos/PullRequest Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -771,12 +771,12 @@ public int GetLatestIterationId()
771
771
/// Gets all the pull request changes of the given iteration.
772
772
/// </summary>
773
773
/// <param name="iterationId">The id of the iteration.</param>
774
- /// <returns>The collection of the iteration changes of the given id. Returns <c>null</c> if pull request is not valid.</returns>
774
+ /// <returns>The collection of the iteration changes of the given id. Returns an empty collection if pull request is not valid.</returns>
775
775
public IEnumerable < AzureDevOpsPullRequestIterationChange > GetIterationChanges ( int iterationId )
776
776
{
777
777
if ( ! this . ValidatePullRequest ( ) )
778
778
{
779
- return null ;
779
+ return [ ] ;
780
780
}
781
781
782
782
using ( var gitClient = this . gitClientFactory . CreateGitClient ( this . CollectionUrl , this . credentials ) )
You can’t perform that action at this time.
0 commit comments