diff options
| author | Vallie Joseph <vmjoseph@github.com> | 2022-11-30 20:41:41 +0000 |
|---|---|---|
| committer | Vallie Joseph <vmjoseph@github.com> | 2022-11-30 20:41:41 +0000 |
| commit | 7f6860b0eeff764e259053fdaffeb34a8de52a0f (patch) | |
| tree | b5de60cea92a47e5508f30ccb8b997f4864b8fb3 | |
| parent | 480cfb6bb2cad4a025e362306983c269cc16ff76 (diff) | |
adding stderr
| -rw-r--r-- | dist/index.js | 3 | ||||
| -rw-r--r-- | src/git-command-manager.ts | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/dist/index.js b/dist/index.js index 307d9fd..cbd67f0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7403,6 +7403,9 @@ class GitCommandManager { const listeners = { stderr: (data) => { stderr.push(data.toString()); + }, + errline: (line) => { + stderr.push(line); } }; const output = yield this.execGit(args, false, false, listeners); diff --git a/src/git-command-manager.ts b/src/git-command-manager.ts index afcb285..39075a7 100644 --- a/src/git-command-manager.ts +++ b/src/git-command-manager.ts @@ -108,6 +108,9 @@ class GitCommandManager { const listeners = { stderr: (data: Buffer) => { stderr.push(data.toString()) + }, + errline: (line: string) => { + stderr.push(line) } } const output = await this.execGit(args, false, false, listeners) |
