Skip to content

Commit

Permalink
Updated New-ModuleDirStructure
Browse files Browse the repository at this point in the history
  • Loading branch information
codaamok committed Apr 10, 2022
1 parent d9bcabc commit c96caf4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## [Unreleased]
### Fixed
- `New-ModuleDirStructure` failed to correctly create the `about_` text file

## [4.0.0] - 2022-03-02
### Added
Expand Down
6 changes: 1 addition & 5 deletions src/Public/Setup/New-ModuleDirStructure.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ function New-ModuleDirStructure {
'!*.gitkeep'
) | Set-Content -Path $GitIgnorePath

$ModuleHelp = "about_{0}.help.txt" -f $ModuleName
$ModuleHelpPath - "{0}\src\en-US\{2}" -f $Path, $ModuleName, $ModuleHelp
$ModuleHelpPath = "{0}\src\en-US\about_{1}.help.txt" -f $Path, $ModuleName
New-Item $ModuleHelpPath -ItemType File -Force

$NewModuleManifestSplat = @{
Expand All @@ -104,7 +103,4 @@ function New-ModuleDirStructure {
}

New-ModuleManifest @NewModuleManifestSplat

# Copy the public/exported functions into the public folder, private functions into private folder

}

0 comments on commit c96caf4

Please sign in to comment.