From 3020dcdc09d654ea26fa9a2d71bd66d19bb02e05 Mon Sep 17 00:00:00 2001 From: Andrey Sitnik Date: Fri, 9 Aug 2024 02:10:44 +0200 Subject: [PATCH] Try to fix strange issue with coverage --- proxy/proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/proxy.ts b/proxy/proxy.ts index 8a2f1efe..c448fb3b 100644 --- a/proxy/proxy.ts +++ b/proxy/proxy.ts @@ -115,9 +115,9 @@ export function createProxyServer(config: { res.end(e.message) return } + /* c8 ignore next 11 */ // Unknown or Internal errors - /* c8 ignore next 9 */ if (e instanceof Error) { process.stderr.write(styleText('red', e.stack ?? e.message) + '\n') } else if (typeof e === 'string') {