fix: add rg to path (#146)

This commit is contained in:
Charles Packer
2025-12-01 22:29:05 -08:00
committed by GitHub
parent f1f507a45d
commit bc558e5c5b
3 changed files with 47 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
import { spawn } from "node:child_process";
import * as path from "node:path";
import { getShellEnv } from "./shellEnv.js";
import { validateRequiredParams } from "./validation.js";
interface ShellArgs {
@@ -50,7 +51,7 @@ export async function shell(args: ShellArgs): Promise<ShellResult> {
const child = spawn(executable, execArgs, {
cwd,
env: process.env,
env: getShellEnv(),
stdio: ["ignore", "pipe", "pipe"],
});