We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b56623 commit 04773e3Copy full SHA for 04773e3
1 file changed
src/NuGetGallery.Core/GitHub/RepositoryInformation.cs
@@ -20,7 +20,7 @@ public RepositoryInformation(
20
throw new IndexOutOfRangeException(string.Format("{0} cannot have a negative value!", nameof(stars)));
21
}
22
23
- Id = id;
+ Id = id ?? throw new ArgumentNullException(nameof(id));
24
var idSplit = Id.Split('/');
25
if (idSplit.Length == 2)
26
{
0 commit comments