Skip to content

Commit

Permalink
Update src/BaGetter.Core/Indexing/PackageDeletionService.cs
Browse files Browse the repository at this point in the history
Co-authored-by: seriouz <[email protected]>
Signed-off-by: Erik <[email protected]>
  • Loading branch information
ErikApption and seriouz authored Nov 14, 2024
1 parent 8eedfa7 commit 3c9c174
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/BaGetter.Core/Indexing/PackageDeletionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ public async Task<int> DeleteOldVersionsAsync(Package package, uint? maxMajor, u
}

/// <summary>
/// If we have 1.1.1-alpha.1 , this will return 1
/// or null if not valid
/// Tries to get the version number of a pre-release build.<br/>
/// If we have 1.1.1-alpha.1 , this will return 1 or <c>null</c> if not valid.
/// </summary>
/// <returns></returns>
/// <returns>The version as <c>int</c> or <c>null</c> if not found.</returns>
private int? GetPreReleaseBuild(NuGetVersion nuGetVersion)
{
if (nuGetVersion.IsPrerelease && nuGetVersion.ReleaseLabels != null)
Expand Down

0 comments on commit 3c9c174

Please sign in to comment.