From fc742e586052163067748f16164294ac4cd41af3 Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 4 Mar 2024 08:42:16 -0500 Subject: [PATCH] fix: apply suggestions from code review Co-authored-by: Lovell Fuller --- lib/process.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/process.js b/lib/process.js index b5af8de..ee78ad2 100644 --- a/lib/process.js +++ b/lib/process.js @@ -8,13 +8,13 @@ const isLinux = () => process.platform === 'linux'; let report = null; const getReport = () => { if (!report) { + /* istanbul ignore next */ if (isLinux() && process.report) { const orig = process.report.excludeNetwork; process.report.excludeNetwork = true; report = process.report.getReport(); process.report.excludeNetwork = orig; } else { - /* istanbul ignore next */ report = {}; } }