fix: remove unnecessary blank line in Run-One function

This commit is contained in:
monosans
2026-04-30 17:53:28 +03:00
parent f4b34c458d
commit 791d88ac47
+1 -1
View File
@@ -29,7 +29,7 @@ function Run-One([string]$allocator, [string]$features) {
$p = Get-Process -Id $proc.Id -ErrorAction Stop
$current = [math]::Max($p.WorkingSet64, $p.PeakWorkingSet64)
if ($current -gt $peak) { $peak = $current }
$wmi = Get-CimInstance Win32_Process -Filter "ProcessId=$($proc.Id)" -ErrorAction SilentlyContinue
if ($wmi -and $wmi.PageFaults -gt $faults) { $faults = $wmi.PageFaults }
} catch { }