Skip to content

Commit 3bd3e59

Browse files
fix: add stdio pipe to execSync to prevent stderr leaking to terminal
Co-Authored-By: mathieu <mathieu@buildwithfern.com>
1 parent 256fe7c commit 3bd3e59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cli/cli/src/utils/environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function detectCISource(): CISource | undefined {
7272
*/
7373
function detectDeploySource(): string | undefined {
7474
try {
75-
const subject = execSync("git log -1 --format=%s", { encoding: "utf-8", timeout: 5000 }).trim();
75+
const subject = execSync("git log -1 --format=%s", { encoding: "utf-8", timeout: 5000, stdio: "pipe" }).trim();
7676
if (subject.includes("[source:postman]")) {
7777
return "postman";
7878
}

0 commit comments

Comments
 (0)