Skip to content

Commit 4dbd1c1

Browse files
committed
(maint) Correcting inspectcode issue
1 parent e6526aa commit 4dbd1c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/GitReleaseManager/ReleaseNotesBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ private void CheckForValidLabels(Issue issue)
107107
if (count != 1)
108108
{
109109
var allIssueLabels = this.configuration.IssueLabelsInclude.Union(this.configuration.IssueLabelsExclude).ToList();
110-
var allIssuesExceptLast = allIssueLabels.Take(allIssueLabels.Count() - 1);
110+
var allIssuesExceptLast = allIssueLabels.Take(allIssueLabels.Count - 1);
111111
var lastLabel = allIssueLabels.Last();
112112

113113
var allIssuesExceptLastString = string.Join(", ", allIssuesExceptLast);

0 commit comments

Comments
 (0)