File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
templates/PSFProject/build Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ foreach ($line in (Get-Content "$($PSScriptRoot)\filesAfter.txt" | Where-Object
62
62
63
63
# region Update the psm1 file
64
64
$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 " ) )
67
67
[System.IO.File ]::WriteAllText(" $ ( $publishDir.FullName ) \þnameþ\þnameþ.psm1" , $fileData , [System.Text.Encoding ]::UTF8)
68
68
# endregion Update the psm1 file
69
69
You can’t perform that action at this time.
0 commit comments