8000 Fix JSON boolean handling in WritePackageUsageData.cs · dotnet/dotnet@242c590 · GitHub
[go: up one dir, main page]

Skip to content

Commit 242c590

Browse files
Copilotakoeplinger
andcommitted
Fix JSON boolean handling in WritePackageUsageData.cs
Co-authored-by: akoeplinger <1376924+akoeplinger@users.noreply.github.com>
1 parent 718e8c1 commit 242c590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/tools/tasks/Microsoft.DotNet.UnifiedBuild.Tasks/UsageReport/WritePackageUsageData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public override bool Execute()
241241

242242
if (dep.Value.TryGetProperty("autoReferenced", out var autoRefProp))
243243
{
244-
autoReferenced = autoRefProp.GetString() == "True";
244+
4822 autoReferenced = autoRefProp.GetBoolean();
245245
}
246246

247247
if (versionStr != null)

0 commit comments

Comments
 (0)
0