From 2eb238c46d6c6cdf36447c626ab1fb11c001564b Mon Sep 17 00:00:00 2001 From: ehmicky Date: Sun, 27 Oct 2024 16:19:04 +0000 Subject: [PATCH] Fix c8 --- src/exec.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/exec.js b/src/exec.js index 6738e6d..f14828d 100644 --- a/src/exec.js +++ b/src/exec.js @@ -30,13 +30,11 @@ export const streamCommand = (input, opts) => { try { return execaCommand(input, opts).readable({ from: opts.from }) - /* c8 ignore start */ } catch (error) { // At the moment, `execa` never throws synchronously. // This is just a safety catch in case it has a bug. throwError(error) } - /* c8 ignore stop */ } const execaCommand = (input, opts) => {