From e4822cb810caa8d141d11c85eb87487cb9a1a748 Mon Sep 17 00:00:00 2001 From: KevinMarquette Date: Tue, 2 May 2017 23:40:31 -0700 Subject: [PATCH] fix build --- psake.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psake.ps1 b/psake.ps1 index 9f19b66..16dc572 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 -Raw | Set-Content -Path $psm1 + ( Get-Content -Path $psm1 -TotalCount 1 ) | Set-Content -Path $psm1 foreach ( $folder in ('Classes', 'Public', 'Private') ) { Add-Content -Path $psm1 -Value "Write-Verbose 'Importing from [$folder]'"