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 610cbf7 commit 9e4df53Copy full SHA for 9e4df53
src/GitVersion.Core/VersionCalculation/TrunkBased/TrunkBasedCommit.cs
@@ -33,7 +33,7 @@ public bool IsPredecessorTheLastCommitOnTrunk
33
34
public TrunkBasedIteration? ChildIteration { get; private set; }
35
36
- public bool HasChildIteration => ChildIteration?.Commits.Any() == true;
+ public bool HasChildIteration => ChildIteration is not null && ChildIteration.Commits.Count != 0;
37
38
public IReadOnlyCollection<SemanticVersion> SemanticVersions => semanticVersions;
39
0 commit comments