Skip to content

Commit

Permalink
Fix broken link (#8406)
Browse files Browse the repository at this point in the history
Co-authored-by: McCoy Patiño <[email protected]>
  • Loading branch information
azure-sdk and mccoyp authored Jan 17, 2025
1 parent c2e8de4 commit 71b98f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eng/common/scripts/Test-SampleMetadata.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ process {

Write-Error "File '$($file.FullName)' contains invalid product slug: $product" -TargetObject $file `
-Category InvalidData -CategoryTargetName $product -CategoryTargetType string `
-RecommendedAction 'Use only product slugs listed at https://review.docs.microsoft.com/help/contribute/metadata-taxonomies?branch=main#product'
-RecommendedAction 'Use only product slugs listed at https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#product'
}
}

Expand All @@ -95,7 +95,7 @@ end {
}

begin {
# https://review.docs.microsoft.com/help/contribute/metadata-taxonomies?branch=main#product
# https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#product
$productSlugs = @(
"ai-builder",
"aspnet",
Expand Down Expand Up @@ -509,7 +509,7 @@ Checks sample markdown files' frontmatter for invalid information.
.DESCRIPTION
Given a collection of markdown files, their frontmatter - if present - is checked for invalid information, including:
Invalid product slugs, i.e. those not listed in https://review.docs.microsoft.com/help/contribute/metadata-taxonomies?branch=main#product.
Invalid product slugs, i.e. those not listed in https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#product.
.PARAMETER Path
Specifies the path to an item to search. Wildcards are permitted.
Expand Down

0 comments on commit 71b98f9

Please sign in to comment.