Skip to content

Commit 298e7f6

Browse files
committed
fix: Use the renamed method IsNewerMinorReleaseThen -> IsNewerThan with withinMinorReleaseOnly = true
1 parent 403b01f commit 298e7f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Atc.CodingRules.Updater/DirectoryBuildPropsHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private static List<DotnetNugetPackage> GetPackageReferencesThatNeedsToBeUpdated
198198
var latestVersion = AtcApiNugetClientHelper.GetLatestVersionForPackageId(logger, item.PackageId, CancellationToken.None);
199199

200200
if (latestVersion is not null &&
201-
latestVersion.IsNewerMinorReleaseThen(version))
201+
latestVersion.IsNewerThan(version, withinMinorReleaseOnly: true))
202202
{
203203
result.Add(
204204
new DotnetNugetPackage(

0 commit comments

Comments
 (0)