Skip to content

Commit c9e01c2

Browse files
Sync eng/common directory with azure-sdk-tools for PR 7369 (#27949)
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#7369 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) Co-authored-by: Wes Haggard <[email protected]>
1 parent badad46 commit c9e01c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/common/scripts/Verify-Links.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
Path to the root of the site for resolving rooted relative links, defaults to host root for http and file directory for local files.
2626
2727
.PARAMETER errorStatusCodes
28-
List of http status codes that count as broken links. Defaults to 400, 401, 404, SocketError.HostNotFound = 11001, SocketError.NoData = 11004.
28+
List of http status codes that count as broken links. Defaults to 400, 404, SocketError.HostNotFound = 11001, SocketError.NoData = 11004.
2929
3030
.PARAMETER branchReplaceRegex
3131
Regex to check if the link needs to be replaced. E.g. ^(https://github.com/.*/(?:blob|tree)/)main(/.*)$
@@ -65,7 +65,7 @@ param (
6565
[switch] $recursive = $true,
6666
[string] $baseUrl = "",
6767
[string] $rootUrl = "",
68-
[array] $errorStatusCodes = @(400, 401, 404, 11001, 11004),
68+
[array] $errorStatusCodes = @(400, 404, 11001, 11004),
6969
[string] $branchReplaceRegex = "",
7070
[string] $branchReplacementName = "",
7171
[bool] $checkLinkGuidance = $false,

0 commit comments

Comments
 (0)