Skip to content

Commit f93ed39

Browse files
HHobeckarturcic
andauthored
Update src/GitVersion.Core/Core/RepositoryStore.cs
Co-authored-by: Artur <[email protected]>
1 parent 6a5e6ae commit f93ed39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersion.Core/Core/RepositoryStore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public IEnumerable<BranchCommit> FindCommitBranchesWasBranchedFrom(IBranch branc
213213
if (branch.Tip == null)
214214
{
215215
this.log.Warning($"{branch} has no tip.");
216-
return Enumerable.Empty<BranchCommit>();
216+
return [];
217217
}
218218

219219
return new MergeCommitFinder(this, configuration, excludedBranches, this.log).FindMergeCommitsFor(branch).ToList();

0 commit comments

Comments
 (0)