Skip to content

Commit 9e4df53

Browse files
committed
Integrate code review changes
1 parent 610cbf7 commit 9e4df53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersion.Core/VersionCalculation/TrunkBased/TrunkBasedCommit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public bool IsPredecessorTheLastCommitOnTrunk
3333

3434
public TrunkBasedIteration? ChildIteration { get; private set; }
3535

36-
public bool HasChildIteration => ChildIteration?.Commits.Any() == true;
36+
public bool HasChildIteration => ChildIteration is not null && ChildIteration.Commits.Count != 0;
3737

3838
public IReadOnlyCollection<SemanticVersion> SemanticVersions => semanticVersions;
3939

0 commit comments

Comments
 (0)