Skip to content

Commit

Permalink
added utf boom for saving psd1 file
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianSchuetze committed Feb 22, 2022
1 parent 2f07956 commit bd63e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build-Module.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Write-Output ' Updating: Functions To Export'
$newValue = ((Get-ChildItem -Path "./Source/Public" -Filter '*.ps1').BaseName |
ForEach-Object -Process { Write-Output "'$_'" }) -join ','

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

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

0 comments on commit bd63e0d

Please sign in to comment.