diff --git a/core/index.ts b/core/index.ts index f7c72e2..a210ca8 100644 --- a/core/index.ts +++ b/core/index.ts @@ -40,7 +40,8 @@ export function getRevision(root: /* ImportMeta.URL */ string) { let changes = ""; try { // Are there any outstanding git changes? - const run = (cmd: string) => execSync(cmd, { encoding: "utf-8", cwd }); + const run = (cmd: string) => + execSync(cmd, { encoding: "utf-8", cwd, stdio: "pipe" }); sha = run("git rev-parse --short HEAD").trim(); status = run("git status --porcelain=v1"); } catch (e) {}