UNPKG

@storm-software/git-tools

Version:

Tools for managing Git repositories within a Nx workspace.

24 lines (22 loc) 599 B
import { execSync } from 'node:child_process'; // ../config-tools/src/utilities/run.ts var LARGE_BUFFER = 1024 * 1e6; var run = (config, command, cwd = config.workspaceRoot ?? process.cwd(), stdio = "inherit", env = process.env) => { return execSync(command, { cwd, env: { ...process.env, ...env, CLICOLOR: "true", FORCE_COLOR: "true" }, windowsHide: true, stdio, maxBuffer: LARGE_BUFFER, killSignal: "SIGTERM", encoding: "utf8" }); }; export { run }; //# sourceMappingURL=chunk-G3YPGVPS.js.map //# sourceMappingURL=chunk-G3YPGVPS.js.map