From b81da193fbcd39d1341fd54e0c8c5921d70ee4fb Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 29 Aug 2023 21:20:11 +0200 Subject: [PATCH] fix: buffer stdio in silent mode this helps to better debug failed errors --- src/_utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_utils.ts b/src/_utils.ts index 7b9803e..24eb99c 100644 --- a/src/_utils.ts +++ b/src/_utils.ts @@ -41,7 +41,7 @@ export async function executeCommand( await execa(execaArgs[0], execaArgs[1], { cwd: resolve(options.cwd || process.cwd()), - stdio: options.silent ? "ignore" : "inherit", + stdio: options.silent ? "pipe" : "inherit", }); }