We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4448c43 commit b72f30fCopy full SHA for b72f30f
update-svelte-files.ps1
@@ -13,11 +13,11 @@ function Update-SvelteFiles {
13
$readmeFile = $readmeFiles[0].FullName
14
15
$readmeContent = Get-Content -Path $readmeFile -Raw -Encoding utf8
16
- $componentTagStart = "<!--`n@component"
+ $componentTagStart = "<!--`r`n@component"
17
$componentTagEnd = "-->"
18
19
$svelteContent = Get-Content -Path $svelteFile -Raw -Encoding utf8
20
- $svelteContent += "`n$componentTagStart`n$readmeContent`n$componentTagEnd"
+ $svelteContent += "`r`n$componentTagStart`r`n$readmeContent`r`n$componentTagEnd"
21
Set-Content -Path $svelteFile -Value $svelteContent -Encoding utf8NoBOM
22
}
23
0 commit comments