Fix win_git error message
This commit is contained in:
parent
ae689d46b1
commit
2286452f5b
@ -93,7 +93,7 @@ function Get-GitRemoteHeadBranch {
|
|||||||
$result = Run-Command -command $command -working_directory $dest
|
$result = Run-Command -command $command -working_directory $dest
|
||||||
if ($result.rc -ne 0) {
|
if ($result.rc -ne 0) {
|
||||||
$module.FailJson("Could not determine the default HEAD branch of remote: $remote" ` +
|
$module.FailJson("Could not determine the default HEAD branch of remote: $remote" ` +
|
||||||
"$result.stdout $result.stderr")
|
$result.stderr)
|
||||||
}
|
}
|
||||||
return $result.stdout.Trim().Replace("$remote/", '')
|
return $result.stdout.Trim().Replace("$remote/", '')
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user