Unified · Split
| @@ -235,7 +235,8 @@ function normalizeWindowsProcessRow(value: unknown): Option.Option<ProcessRow> { · 234 unmodified lines | ||
| 235 | 235 | pgid: null, |
| 236 | 236 | status: Option.getOrElse(nonEmptyStringOption(record.Status), () => "Live"), |
| 237 | 237 | cpuPercent: |
| 238 | − typeof record.PercentProcessorTime === "number" && Number.isFinite(record.PercentProcessorTime) | |
| 238 | + typeof record.PercentProcessorTime === "number" && | |
| 239 | + Number.isFinite(record.PercentProcessorTime) | |
| 239 | 240 | ? Math.max(0, record.PercentProcessorTime) |
| 240 | 241 | : 0, |
| 241 | 242 | rssBytes: |