Minor linting

This commit is contained in:
Dominion
2023-04-26 22:28:34 -04:00
parent bb6cec3456
commit 76029412d6
+1 -1
View File
@@ -466,7 +466,7 @@ namespace ReleaseNotes
var allReleases = await client.Repository.Release.GetAll(RepoOwner, RepoName);
var orderedReleases = allReleases
.Where(IsServerRelease)
.OrderByDescending(x => Version.Parse(x.TagName.Substring(TagPrefix.Length)));
.OrderByDescending(x => Version.Parse(x.TagName[TagPrefix.Length..]));
latestRelease = orderedReleases
.First();