We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76cf581 commit 5168765Copy full SHA for 5168765
scripts/extension/Prepare-Extension.ps1
@@ -58,7 +58,7 @@ function Get-DescriptionFromYaml {
58
# Extract YAML frontmatter and parse with PowerShell-Yaml
59
if ($content -match '(?s)^---\s*\r?\n(.*?)\r?\n---') {
60
# Normalize line endings to LF for consistent parsing across platforms
61
- $yamlContent = $Matches[1] -replace '\r\n', '`n' -replace '\r', '`n'
+ $yamlContent = $Matches[1] -replace '\r\n', "`n" -replace '\r', "`n"
62
try {
63
$data = ConvertFrom-Yaml -Yaml $yamlContent
64
if ($data.ContainsKey('description')) {
0 commit comments