From 2286452f5bbcd2994d492f72d0afd03b79186c26 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Wed, 13 Aug 2025 22:50:57 +0100 Subject: [PATCH] Fix win_git error message --- library/win_git.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/win_git.ps1 b/library/win_git.ps1 index c29970c..679c2a0 100644 --- a/library/win_git.ps1 +++ b/library/win_git.ps1 @@ -93,7 +93,7 @@ function Get-GitRemoteHeadBranch { $result = Run-Command -command $command -working_directory $dest if ($result.rc -ne 0) { $module.FailJson("Could not determine the default HEAD branch of remote: $remote" ` + - "$result.stdout $result.stderr") + $result.stderr) } return $result.stdout.Trim().Replace("$remote/", '') }