From 24981483a77f56d2f15227a7a2ecaa79f1e87e51 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Wed, 11 Mar 2026 14:39:59 -0700 Subject: [PATCH] double dippin gone wrong --- src/commands/web.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/commands/web.ts b/src/commands/web.ts index c94fc40..e4fb3b1 100644 --- a/src/commands/web.ts +++ b/src/commands/web.ts @@ -43,8 +43,9 @@ function formatStat(raw: string): string { if (pipe === -1) return line return line.slice(0, pipe + 1) + line.slice(pipe + 1) - .replace(/\+/g, '+') - .replace(/-/g, '-') + .replace(/[+-]/g, c => c === "+" + ? '+' + : '-') }).join("\n") }