From 8e2082825982cf65f8e303426a698d61cca52b3e Mon Sep 17 00:00:00 2001 From: Peter Evans <18365890+peter-evans@users.noreply.github.com> Date: Mon, 3 Mar 2025 12:43:43 +0000 Subject: [PATCH] update dist --- dist/index.js | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/dist/index.js b/dist/index.js index e1b7fd52..d1bb9582 100644 --- a/dist/index.js +++ b/dist/index.js @@ -899,7 +899,10 @@ class GitCommandManager { showFileAtRefBase64(ref, path) { return __awaiter(this, void 0, void 0, function* () { const args = ['show', `${ref}:${path}`]; - const output = yield this.exec(args, { encoding: 'base64', suppressGitCmdOutput: true }); + const output = yield this.exec(args, { + encoding: 'base64', + suppressGitCmdOutput: true + }); return output.stdout.trim(); }); } @@ -1032,23 +1035,6 @@ const outStreamHandler = (outStream, suppressGitCmdOutput) => { } }); }; -// const errStream = (suppressGitCmdOutput: boolean): Writable => { -// return new stream.Writable({ -// write(chunk, _, next) { -// if (suppressGitCmdOutput) { -// const lines = chunk.toString().trimEnd().split('\n') -// for (const line of lines) { -// if (line.startsWith('[command]')) { -// process.stderr.write(`${line}\n`) -// } -// } -// } else { -// process.stderr.write(chunk) -// } -// next() -// } -// }) -// } /***/ }),