Skip to content

Commit

Permalink
fix: buffer stdio in silent mode
Browse files Browse the repository at this point in the history
this helps to better debug failed errors
  • Loading branch information
pi0 committed Aug 29, 2023
1 parent 251c374 commit b81da19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
});
}

Expand Down

0 comments on commit b81da19

Please sign in to comment.