We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7857fdf commit d399202Copy full SHA for d399202
src/code/PSResourceInfo.cs
@@ -724,12 +724,7 @@ public static bool TryConvertFromJson(
724
725
if (dependencyGroupsElement.ValueKind == JsonValueKind.Array)
726
{
727
- foreach (
728
- JsonElement dependencyGroup in dependencyGroupsElement.EnumerateArray().Where(
729
- x => x.TryGetProperty("id", out JsonElement idProperty) &&
730
- !string.IsNullOrWhiteSpace(idProperty.GetString())
731
- )
732
+ foreach (JsonElement dependencyGroup in dependencyGroupsElement.EnumerateArray())
733
734
if (dependencyGroup.TryGetProperty("dependencies", out JsonElement dependenciesElement))
735
0 commit comments