Skip to content

Commit

Permalink
Update src/code/ContainerRegistryServerAPICalls.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Aditya Patwardhan <[email protected]>
  • Loading branch information
anamnavi and adityapatwardhan authored Jan 7, 2025
1 parent ea15100 commit 9c676de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/code/ContainerRegistryServerAPICalls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ internal Hashtable GetContainerRegistryMetadata(string packageName, string exact
}
else if (rootDom.TryGetProperty("Version", out pkgVersionElement) || rootDom.TryGetProperty("version", out pkgVersionElement))
{
// script metadata will have "Version" property, but nupk only based .nuspec will have lowercase "version" property and JsonElement.TryGetProperty() is case sensitive
// script metadata will have "Version" property, but nupkg only based .nuspec will have lowercase "version" property and JsonElement.TryGetProperty() is case sensitive
pkgVersionString = pkgVersionElement.ToString();
}
else
Expand Down

0 comments on commit 9c676de

Please sign in to comment.