Skip to content

Commit

Permalink
fixup! Fix broken license downloads from GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
mtnpke committed Sep 30, 2024
1 parent 94563c7 commit 665ca5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NuGetUtility/LicenseValidator/LicenseValidator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ private async Task ValidateLicenseByUrl(IPackageMetadata info,
}
}

private Uri FixupLicenseUrl(Uri licenseUrl)
private static Uri FixupLicenseUrl(Uri licenseUrl)
{
if ((licenseUrl.Host == "github.com" || licenseUrl.Host == "www.github.com")
&& licenseUrl.Query == ""
Expand Down

0 comments on commit 665ca5a

Please sign in to comment.