Skip to content

Commit

Permalink
fix help content after script merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jazuntee committed Feb 23, 2023
1 parent 06a7fb9 commit 0cbfa3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Merge-PSModuleNestedModuleScripts.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if ($OutputModuleFileInfo.Extension -eq ".psm1") {
}

## Add Nested Module Scripts
$NestedModulesFileInfo | Where-Object Extension -EQ '.ps1' | ForEach-Object { "#region $($_.Name)`r`n$(Get-Content $_ -Raw)`r`n#endregion`r`n" } | Add-Content $OutputModuleFileInfo.FullName -Encoding utf8BOM
$NestedModulesFileInfo | Where-Object Extension -EQ '.ps1' | ForEach-Object { "#region $($_.Name)`r`n`r`n$(Get-Content $_ -Raw)`r`n#endregion`r`n" } | Add-Content $OutputModuleFileInfo.FullName -Encoding utf8BOM

if ($MergeWithRootModule) {
function Join-ModuleMembers ([string[]]$Members) {
Expand Down

0 comments on commit 0cbfa3b

Please sign in to comment.