From c9e01c24e0302003865a4756366b0aadac8013e7 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 30 Nov 2023 14:44:34 -0800 Subject: [PATCH] Sync eng/common directory with azure-sdk-tools for PR 7369 (#27949) Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/7369 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) Co-authored-by: Wes Haggard --- eng/common/scripts/Verify-Links.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/common/scripts/Verify-Links.ps1 b/eng/common/scripts/Verify-Links.ps1 index a77f57133f24..62fd3df98751 100644 --- a/eng/common/scripts/Verify-Links.ps1 +++ b/eng/common/scripts/Verify-Links.ps1 @@ -25,7 +25,7 @@ Path to the root of the site for resolving rooted relative links, defaults to host root for http and file directory for local files. .PARAMETER errorStatusCodes - List of http status codes that count as broken links. Defaults to 400, 401, 404, SocketError.HostNotFound = 11001, SocketError.NoData = 11004. + List of http status codes that count as broken links. Defaults to 400, 404, SocketError.HostNotFound = 11001, SocketError.NoData = 11004. .PARAMETER branchReplaceRegex Regex to check if the link needs to be replaced. E.g. ^(https://github.com/.*/(?:blob|tree)/)main(/.*)$ @@ -65,7 +65,7 @@ param ( [switch] $recursive = $true, [string] $baseUrl = "", [string] $rootUrl = "", - [array] $errorStatusCodes = @(400, 401, 404, 11001, 11004), + [array] $errorStatusCodes = @(400, 404, 11001, 11004), [string] $branchReplaceRegex = "", [string] $branchReplacementName = "", [bool] $checkLinkGuidance = $false,