Skip to content

Commit 3083f16

Browse files
committedApr 6, 2023
Give NotImplementedException a message
1 parent 97f2019 commit 3083f16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

Diff for: ‎src/GitVersion.Core/VersionCalculation/TrunkBasedVersionCalculator.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ namespace GitVersion.VersionCalculation;
33
internal sealed class TrunkBasedVersionCalculator : ITrunkBasedVersionCalculator
44
{
55
// TODO: Please implement trunk based version here and remove MainlineVersionCalculator.
6-
public SemanticVersion Calculate(NextVersion nextVersion) => throw new NotImplementedException();
6+
public SemanticVersion Calculate(NextVersion nextVersion) =>
7+
throw new NotImplementedException("Trunk based version calculation is not yet implemented. Use Mainline mode instead.");
78
}

0 commit comments

Comments
 (0)
Please sign in to comment.