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 1d48a9e commit 5840717Copy full SHA for 5840717
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?.Commits.Count != 0;
37
38
public IReadOnlyCollection<SemanticVersion> SemanticVersions => semanticVersions;
39
0 commit comments