Skip to content

Commit

Permalink
Upgrade to .net 8 and fix total downloads bug (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
billpratt authored Feb 29, 2024
1 parent ab2cbd6 commit 1065bca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/DotNetSearch/Extensions/IntegerFormatExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace DotNetSearch.Extensions
{
public static class IntegerFormatExtensions
public static class NumberFormatExtensions
{
public static string ToAbbrString(this int value)
public static string ToAbbrString(this long value)
{
switch(value)
{
Expand Down
2 changes: 1 addition & 1 deletion src/DotNetSearch/Package.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Package
public string ProjectUrl { get; set; }
public IEnumerable<string> Tags { get; set; }
public IEnumerable<string> Authors { get; set; }
public int TotalDownloads { get; set; }
public long TotalDownloads { get; set; }
public bool Verified { get; set; }
public IEnumerable<PackageVersion> Versions { get; set; }
}
Expand Down
8 changes: 0 additions & 8 deletions src/DotNetSearch/nuget.config

This file was deleted.

0 comments on commit 1065bca

Please sign in to comment.