diff --git a/PolicyFileEditor.psd1 b/PolicyFileEditor.psd1 index 6f85d88..37702e8 100644 --- a/PolicyFileEditor.psd1 +++ b/PolicyFileEditor.psd1 @@ -1,6 +1,6 @@ @{ ModuleToProcess = 'PolicyFileEditor.psm1' - ModuleVersion = '1.4.1' + ModuleVersion = '1.4.2' GUID = '110a2398-3053-4ffc-89d1-1b6a38a2dc86' Author = 'Dave Wyatt' CompanyName = 'Home' diff --git a/build.psake.ps1 b/build.psake.ps1 index b203d61..3c39294 100644 --- a/build.psake.ps1 +++ b/build.psake.ps1 @@ -43,7 +43,7 @@ Task Build -depends Test { Where { $file = $_; -not ($filesToExclude | Where { $file.Name -like $_ }) } | ForEach { $sourceFile = $_ - $relativePath = Get-RelativePath -Path $sourceFile.FillName -RelativeTo $source + $relativePath = Get-RelativePath -Path $sourceFile.FullName -RelativeTo $source $targetPath = Join-Path $buildTarget $relativePath $parent = Split-Path $targetPath -Parent