Skip to content

Commit bd63e0d

Browse files
author
Sebastian S Schütze
committed
added utf boom for saving psd1 file
1 parent 2f07956 commit bd63e0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Build-Module.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Write-Output ' Updating: Functions To Export'
140140
$newValue = ((Get-ChildItem -Path "./Source/Public" -Filter '*.ps1').BaseName |
141141
ForEach-Object -Process { Write-Output "'$_'" }) -join ','
142142

143-
(Get-Content "./Source/VSTeam.psd1") -Replace ("FunctionsToExport.+", "FunctionsToExport = ($newValue)") | Set-Content "$output/VSTeam.psd1"
143+
(Get-Content "./Source/VSTeam.psd1") -Replace ("FunctionsToExport.+", "FunctionsToExport = ($newValue)") | Set-Content "$output/VSTeam.psd1" -Encoding utf8BOM
144144

145145
if (-not $skipLibBuild.IsPresent) {
146146
Write-Output " Building: C# project ($configuration config)"

0 commit comments

Comments
 (0)