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
# To help improve performance and rate limiting issues with github links we try to resolve them based on a local clone if one exists.
85
-
if ($localGithubClonedRoot-and$linkUri-match'^https://github.com/Azure/(?<repo>[^/]+)/(?:blob|tree)/(main|.*_[^/]+|.*/v[^/]+)/(?<path>.*)$') {
if (($localGithubClonedRoot-or$localBuildRepoName) -and$linkUri-match'^https://github.com/(?<org>Azure)/(?<repo>[^/]+)/(?:blob|tree)/(main|.*_[^/]+|.*/v[^/]+)/(?<path>.*)$') {
97
+
98
+
if ($localBuildRepoName-eq ($matches['org'] +"/"+$matches['repo'])) {
99
+
# If the link is to the current repo, use the local build path
0 commit comments