Update some info in md-link-checks (#8757)

This commit is contained in:
Reece Dunham
2019-01-29 08:54:23 +05:00
committed by Ilya
parent cec4557932
commit 5581c0a0ed
+3 -3
View File
@@ -96,7 +96,7 @@ Describe "Verify Markdown Links" {
$prefix = $url.Substring(0,7)
# Logging for diagnosability. AzDevOps sometimes redacts the full url.
# Logging for diagnosability. Azure DevOps sometimes redacts the full url.
Write-Verbose "prefix: '$prefix'" -Verbose
if($url -match '^http(s)?:')
{
@@ -106,11 +106,11 @@ Describe "Verify Markdown Links" {
}
catch
{
throw "retry of url failed with error: $($_.Message)"
throw "retry of URL failed with error: $($_.Message)"
}
}
else {
throw "Tool reported Url as unreachable."
throw "Tool reported URL as unreachable."
}
}
}