ira-review 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -2862,7 +2862,10 @@ var Notifier = class {
2862
2862
  import { execSync as execSync2 } from "child_process";
2863
2863
  function resolveGitRoot() {
2864
2864
  try {
2865
- return execSync2("git rev-parse --show-toplevel", { encoding: "utf-8" }).trim();
2865
+ return execSync2("git rev-parse --show-toplevel", {
2866
+ encoding: "utf-8",
2867
+ stdio: ["pipe", "pipe", "pipe"]
2868
+ }).trim();
2866
2869
  } catch {
2867
2870
  return process.cwd();
2868
2871
  }
@@ -3403,7 +3406,11 @@ Cause: ${warnings[warnings.length - 1]}` : "";
3403
3406
  let commitMessages = [];
3404
3407
  try {
3405
3408
  const { execSync: execSync6 } = await import("child_process");
3406
- const gitLog = execSync6("git log --oneline -20 --no-decorate", { cwd: repoPath, encoding: "utf-8" });
3409
+ const gitLog = execSync6("git log --oneline -20 --no-decorate", {
3410
+ cwd: repoPath,
3411
+ encoding: "utf-8",
3412
+ stdio: ["pipe", "pipe", "pipe"]
3413
+ });
3407
3414
  commitMessages = gitLog.trim().split("\n").filter(Boolean);
3408
3415
  } catch {
3409
3416
  }
package/dist/index.cjs CHANGED
@@ -3658,7 +3658,10 @@ var Notifier = class {
3658
3658
  var import_node_child_process2 = require("child_process");
3659
3659
  function resolveGitRoot() {
3660
3660
  try {
3661
- return (0, import_node_child_process2.execSync)("git rev-parse --show-toplevel", { encoding: "utf-8" }).trim();
3661
+ return (0, import_node_child_process2.execSync)("git rev-parse --show-toplevel", {
3662
+ encoding: "utf-8",
3663
+ stdio: ["pipe", "pipe", "pipe"]
3664
+ }).trim();
3662
3665
  } catch {
3663
3666
  return process.cwd();
3664
3667
  }
@@ -4217,7 +4220,11 @@ Cause: ${warnings[warnings.length - 1]}` : "";
4217
4220
  let commitMessages = [];
4218
4221
  try {
4219
4222
  const { execSync: execSync4 } = await import("child_process");
4220
- const gitLog = execSync4("git log --oneline -20 --no-decorate", { cwd: repoPath, encoding: "utf-8" });
4223
+ const gitLog = execSync4("git log --oneline -20 --no-decorate", {
4224
+ cwd: repoPath,
4225
+ encoding: "utf-8",
4226
+ stdio: ["pipe", "pipe", "pipe"]
4227
+ });
4221
4228
  commitMessages = gitLog.trim().split("\n").filter(Boolean);
4222
4229
  } catch {
4223
4230
  }