Skip to content

Commit 5168765

Browse files
eedorenkoCopilot
andauthored
Update scripts/extension/Prepare-Extension.ps1
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 76cf581 commit 5168765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/extension/Prepare-Extension.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function Get-DescriptionFromYaml {
5858
# Extract YAML frontmatter and parse with PowerShell-Yaml
5959
if ($content -match '(?s)^---\s*\r?\n(.*?)\r?\n---') {
6060
# Normalize line endings to LF for consistent parsing across platforms
61-
$yamlContent = $Matches[1] -replace '\r\n', '`n' -replace '\r', '`n'
61+
$yamlContent = $Matches[1] -replace '\r\n', "`n" -replace '\r', "`n"
6262
try {
6363
$data = ConvertFrom-Yaml -Yaml $yamlContent
6464
if ($data.ContainsKey('description')) {

0 commit comments

Comments
 (0)