Skip to content

Commit

Permalink
Update PackageUrl.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
gfs committed Mar 3, 2022
1 parent d3cc592 commit edc6fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PackageUrl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ private string ValidateName(string name)
{
if (name == null)
{
return null;
throw new MalformedPackageUrlException("The PackageURL name specified is invalid");
}
return Type switch
{
Expand Down

0 comments on commit edc6fc8

Please sign in to comment.