Add debug logging to runGitCommand()

This commit is contained in:
Chuan-kai Lin
2024-10-21 10:13:30 -07:00
parent 2bfc468cd8
commit 5e475b7659

View File

@@ -56,6 +56,7 @@ async function runGitCommand(
): Promise<string> {
let stdout = "";
let stderr = "";
core.debug(`Running git command: git ${args.join(" ")}`);
try {
await new toolrunner.ToolRunner(await safeWhich.safeWhich("git"), args, {
silent: true,