Skip to content

Commit 4194917

Browse files
committed
Moved the 'Module Created' message inside the TargetPath loop so we'll get a message for every path in TargetPath
1 parent c77a00c commit 4194917

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Invoke-PSModuleBuild.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ Function Invoke-PSModuleBuild {
264264
{
265265
$ModulePath = Join-Path -Path $TP -ChildPath "$ModuleName.psm1"
266266
$Module | Out-File $ModulePath -Encoding ascii
267+
Write-Verbose "Module created at: $TP as $ModuleName" -Verbose
267268
}
268269

269270
#Passthru
@@ -282,7 +283,6 @@ Function Invoke-PSModuleBuild {
282283
}
283284
}
284285

285-
Write-Verbose "Module created at: $Path as $ModuleName" -Verbose
286286
Write-Verbose "$(Get-Date): Invoke-PSModuleBuild completed."
287287
}
288288
}

0 commit comments

Comments
 (0)