Skip to content

Commit 0e3ecee

Browse files
committed
Includes stdout if stderr is empty
1 parent c08f6ec commit 0e3ecee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git/shell.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export function run<TOut extends string | Buffer>(
148148
? `Command output exceeded the allocated stdout buffer. Set 'options.maxBuffer' to a larger value than ${
149149
opts.maxBuffer
150150
} bytes`
151-
: stderr
151+
: stderr || stdout
152152
)
153153
);
154154

0 commit comments

Comments
 (0)