Skip to content

Commit 0880142

Browse files
azure-sdksima-zhu
authored andcommitted
Fixed the bug of the wrong parameter (Azure#17169)
Co-authored-by: Sima Zhu <[email protected]>
1 parent 7cebd80 commit 0880142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/common/scripts/update-docs-metadata.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function GetAdjustedReadmeContent($pkgInfo){
6363
$ReplacementPattern = "`${1}$($pkgInfo.Tag)"
6464
$fileContent = $fileContent -replace $releaseReplaceRegex, $ReplacementPattern
6565

66-
$header = "---`ntitle: $foundTitle`nkeywords: Azure, $lang, SDK, API, $($pkgInfo.PackageId), $service`nauthor: maggiepint`nms.author: magpint`nms.date: $date`nms.topic: article`nms.prod: azure`nms.technology: azure`nms.devlang: $lang`nms.service: $service`n---`n"
66+
$header = "---`ntitle: $foundTitle`nkeywords: Azure, $Language, SDK, API, $($pkgInfo.PackageId), $service`nauthor: maggiepint`nms.author: magpint`nms.date: $date`nms.topic: article`nms.prod: azure`nms.technology: azure`nms.devlang: $Language`nms.service: $service`n---`n"
6767

6868
if ($fileContent) {
6969
return "$header`n$fileContent"

0 commit comments

Comments
 (0)