Skip to content

Commit 173ae45

Browse files
robertcoltheartarturcic
authored andcommitted
fix: change label token to be record
1 parent b3f1556 commit 173ae45

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
11
namespace GitVersion.Formatting;
22

3-
internal class LabelToken
4-
{
5-
public LabelToken(string name, LabelTokenType type, string? format = null)
6-
{
7-
Name = name;
8-
Type = type;
9-
Format = format;
10-
}
11-
12-
public string Name { get; }
13-
14-
public LabelTokenType Type { get; }
15-
16-
public string? Format { get; }
17-
}
3+
internal record LabelToken(string Name, LabelTokenType Type, string? Format = null);

0 commit comments

Comments
 (0)