mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 11:29:02 +00:00
Address code review feedback: - Free result.stdout and result.stderr on all error paths in exec() to prevent memory leaks (check "repository not found" before freeing stderr) - Update test assertions to use /\n(?:fatal:|error:|warning:)/ to verify git stderr appears on a subsequent line, not just matching bun's own error prefix Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>