Skip to content

Commit 0c40b36

Browse files
authored
Sync eng/common directory with azure-sdk-tools repository (#12730)
1 parent ab9467d commit 0c40b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/common/scripts/Verify-Links.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function ResolveUri ([System.Uri]$referralUri, [string]$link)
8787
return $null
8888
}
8989

90-
if ($null -ne $ignoreLinks -and $ignoreLinks.Contains($link)) {
90+
if ($null -ne $ignoreLinks -and ($ignoreLinks.Contains($link) -or $ignoreLinks.Contains($linkUri.ToString()))) {
9191
Write-Verbose "Ignoring invalid link $linkUri because it is in the ignore file."
9292
return $null
9393
}

0 commit comments

Comments
 (0)