Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PSModuleDevelopment/PSModuleDevelopment.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Version number of this module.

ModuleVersion = '2.2.11.138'
ModuleVersion = '2.2.11.139'

# ID used to uniquely identify this module
GUID = '37dd5fce-e7b5-4d57-ac37-832055ce49d6'
Expand Down
4 changes: 4 additions & 0 deletions PSModuleDevelopment/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.2.11.139 (2022-04-29)

+ Fix: Invoke-PSMDTemplate - fails to generate templates on PS 5.1, due to splatting vs. explicitly bound parameter (#172)

## 2.2.11.138 (2022-04-19)

+ New: Template MiniModule - a scaffold for a minimal dependencies module
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@
)
$msgParam = @{ Level = 'Verbose'; FunctionName = 'Invoke-PSMDTemplate' }
foreach ($item in $TemplateResult | Sort-Object { $_.FullPath.Length }) {
Write-PSFMessage @msgParam -Message "Creating file: $($item.FullPath)" -FunctionName Invoke-PSMDTemplate -ModuleName PSModuleDevelopment -Tag 'create', 'template'
Write-PSFMessage @msgParam -Message "Creating file: $($item.FullPath)" -Tag 'create', 'template'
if (-not (Test-Path $item.Path)) {
Write-PSFMessage -Level Verbose -Message "Creating Folder $($item.Path)"
$null = New-Item -Path $item.Path -ItemType Directory
Expand Down