From 0e3eceec140f721861b99f167dbb8b860a3b83fa Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 10 Dec 2018 23:20:43 -0500 Subject: [PATCH] Includes stdout if stderr is empty --- src/git/shell.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git/shell.ts b/src/git/shell.ts index ffad61a..bcb22b1 100644 --- a/src/git/shell.ts +++ b/src/git/shell.ts @@ -148,7 +148,7 @@ export function run( ? `Command output exceeded the allocated stdout buffer. Set 'options.maxBuffer' to a larger value than ${ opts.maxBuffer } bytes` - : stderr + : stderr || stdout ) );