From 91f0ec5e10dcea155f9df0b284b64a292bcfdf70 Mon Sep 17 00:00:00 2001 From: Michael Friesen <3517159+mtfriesen@users.noreply.github.com> Date: Mon, 13 Jan 2025 13:52:25 -0500 Subject: [PATCH] fix single data point JSON export --- tools/common.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/common.ps1 b/tools/common.ps1 index 7f9620d0..9b33287f 100644 --- a/tools/common.ps1 +++ b/tools/common.ps1 @@ -323,7 +323,7 @@ function Write-PerfDataSet { ) New-Item -ItemType Directory -Force -Path (Split-Path $File) | Out-Null - $DataSet | ConvertTo-Json -Depth 100 | Out-File -FilePath $File -Encoding utf8 + ConvertTo-Json -InputObject $DataSet -Depth 100 | Out-File -FilePath $File -Encoding utf8 } function New-PerfData {