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/", '') }