From db20538e0e43b8a94cc1915f2233cd7b913e66c6 Mon Sep 17 00:00:00 2001 From: KevinMarquette Date: Tue, 2 May 2017 23:33:33 -0700 Subject: [PATCH] fix build --- psake.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psake.ps1 b/psake.ps1 index 40fe35a..9f19b66 100644 --- a/psake.ps1 +++ b/psake.ps1 @@ -97,7 +97,7 @@ Task Build -Depends Test { $psm1 = "$PSScriptRoot\$env:BHProjectName\$env:BHProjectName.psm1" # keep the first line in the psm1 file and clear the rest - Get-Content -Path $psm1 -TotalCount 1 | Set-Content -Path $psm1 + Get-Content -Path $psm1 -TotalCount 1 -Raw | Set-Content -Path $psm1 foreach ( $folder in ('Classes', 'Public', 'Private') ) { Add-Content -Path $psm1 -Value "Write-Verbose 'Importing from [$folder]'"