@rbbtsn0w/adg 0.10.1-dev.pr150.a0bbc4c → 0.10.1-dev.pr151.b79dccc
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/src/sources.js +3 -1
- package/package.json +1 -1
package/dist/src/sources.js
CHANGED
|
@@ -182,7 +182,9 @@ export function runGit(args, captureOutput = false, timeoutMs) {
|
|
|
182
182
|
const output = execFileSync("git", fullArgs, {
|
|
183
183
|
...(captureOutput
|
|
184
184
|
? { stdio: "pipe", encoding: "utf8" }
|
|
185
|
-
|
|
185
|
+
// Retain Git's failure reason for the CLI report while discarding
|
|
186
|
+
// unused stdout (which can exceed maxBuffer on large repositories).
|
|
187
|
+
: { stdio: ["ignore", "ignore", "pipe"] }),
|
|
186
188
|
env: gitEnv(),
|
|
187
189
|
...(timeoutMs === undefined ? {} : { timeout: timeoutMs }),
|
|
188
190
|
});
|
package/package.json
CHANGED