Skip to content

Commit fbe5155

Browse files
Friedrich WeinmannFriedrich Weinmann
authored andcommitted
fixed broken build script template
1 parent f6cd37b commit fbe5155

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/PSFProject/build/vsts-build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ foreach ($line in (Get-Content "$($PSScriptRoot)\filesAfter.txt" | Where-Object
6262

6363
#region Update the psm1 file
6464
$fileData = Get-Content -Path "$($publishDir.FullName)\þnameþ\þnameþ.psm1" -Raw
65-
$fileData = $fileData -replace '"<was not compiled>"', '"<was compiled>"'
66-
$fileData = $fileData -replace '"<compile code into here>"', ($text -join "`n`n")
65+
$fileData = $fileData.Replace('"<was not compiled>"', '"<was compiled>"')
66+
$fileData = $fileData.Replace('"<compile code into here>"', ($text -join "`n`n"))
6767
[System.IO.File]::WriteAllText("$($publishDir.FullName)\þnameþ\þnameþ.psm1", $fileData, [System.Text.Encoding]::UTF8)
6868
#endregion Update the psm1 file
6969

0 commit comments

Comments
 (0)