You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sync eng/common directory with azure-sdk-tools for PR 1302 (Azure#16009)
* Make the user agent configurable.
* Address comments
* Default to current Chrome version
* Revert the yaml file changes
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
$emptyLinkMessage="There is at least one empty link in the page. Please replace with absolute link. Check here for more information: https://aka.ms/azsdk/guideline/links"
30
+
if (!$userAgent) {
31
+
$userAgent="Chrome/87.0.4280.88"
32
+
}
28
33
functionNormalizeUrl([string]$url){
29
34
if (Test-Path$url) {
30
35
$url="file://"+ (Resolve-Path$url).ToString();
@@ -162,14 +167,14 @@ function CheckLink ([System.Uri]$linkUri)
162
167
$headRequestSucceeded=$true
163
168
try {
164
169
# Attempt HEAD request first
165
-
$response=Invoke-WebRequest-Uri $linkUri-Method HEAD
0 commit comments