Skip to content

Commit

Permalink
Merge pull request chocolatey#3507 from pauby/maint/clarify-package-t…
Browse files Browse the repository at this point in the history
…hreshold

(maint) Make threshold limit text clearer
  • Loading branch information
corbob authored Oct 31, 2024
2 parents 8837086 + 3b32043 commit 7f7186f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chocolatey/infrastructure.app/services/NugetService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -329,11 +329,11 @@ Package url{6}

if (NugetList.ThresholdHit)
{
this.Log().Warn(logType, "The threshold of {0:N0} packages per source has been met. Please refine your search, or specify a page to find any more results.".FormatWith(NugetList.LastPackageLimitUsed));
this.Log().Warn(logType, "The threshold of {0:N0} packages, or package versions, per source has been met. Please refine your search, or specify a page number to retrieve more results.".FormatWith(NugetList.LastPackageLimitUsed));
}
else if (NugetList.LowerThresholdHit)
{
this.Log().Warn(logType, "Over {0:N0} packages was found per source, there may be more packages available that was filtered out. Please refine your search, or specify a page to check for more packages.".FormatWith(NugetList.LastPackageLimitUsed * 0.9));
this.Log().Warn(logType, "Over {0:N0} packages, or package versions, was found per source, but there may be more packages available that were filtered out. Please refine your search, or specify a page number to retrieve more results.".FormatWith(NugetList.LastPackageLimitUsed * 0.9));
}
}
}
Expand Down

0 comments on commit 7f7186f

Please sign in to comment.