Skip to content

Commit 6e5612e

Browse files
committed
fix: add .psm1 extension to manifest RootModule
1 parent e33ae9c commit 6e5612e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Templates/Dotnet/ModuleBuilderModule/dotnet-post-action.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Set-StrictMode -Version Latest
66

77
# generate manifest
88
$manifestPath = "./Source/{moduleName}.psd1"
9-
New-ModuleManifest -RootModule "{moduleName}" -Path $manifestPath -ModuleVersion 0.0.1
9+
New-ModuleManifest -RootModule "{moduleName}.psm1" -Path $manifestPath -ModuleVersion 0.0.1
1010

1111
# convert manifest to UTF-8 without BOM
1212
$content = Get-Content $manifestPath

0 commit comments

Comments
 (0)