From 480cfb6bb2cad4a025e362306983c269cc16ff76 Mon Sep 17 00:00:00 2001 From: Vallie Joseph Date: Wed, 30 Nov 2022 20:35:36 +0000 Subject: adding stderr --- dist/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dist') diff --git a/dist/index.js b/dist/index.js index c675ba5..307d9fd 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7388,6 +7388,7 @@ class GitCommandManager { branchList(remote) { return __awaiter(this, void 0, void 0, function* () { const result = []; + const stderr = []; // Note, this implementation uses "rev-parse --symbolic-full-name" because the output from // "branch --list" is more difficult when in a detached HEAD state. // Note, this implementation uses "rev-parse --symbolic-full-name" because there is a bug @@ -7401,7 +7402,7 @@ class GitCommandManager { } const listeners = { stderr: (data) => { - core.debug(data.toString()); + stderr.push(data.toString()); } }; const output = yield this.execGit(args, false, false, listeners); @@ -7417,6 +7418,7 @@ class GitCommandManager { result.push(branch); } } + core.debug(stderr.join('\n')); return result; }); } -- cgit v1.2.3