Skip to content

Commit e46cf67

Browse files
fix: 📝 Correct license file naming in New-CreateModule.ps1
* Updated the destination filename for the license file from 'License' to 'LICENSE' to ensure consistency with standard naming conventions. * This change improves clarity and adherence to common practices in module structure.
1 parent d50a3be commit e46cf67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Private/New-CreateModule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function New-CreateModule {
1616
$Destination = [io.path]::Combine($FullProjectPath, '.gitignore')
1717
Copy-Item -Path $Source -Destination $Destination -ErrorAction Stop
1818
$Source = [io.path]::Combine($PSScriptRoot, "..", 'Data', 'Example-LicenseMIT.txt')
19-
$Destination = [io.path]::Combine($FullProjectPath, 'License')
19+
$Destination = [io.path]::Combine($FullProjectPath, 'LICENSE')
2020
Copy-Item -Path $Source -Destination $Destination -ErrorAction Stop
2121
$Source = [io.path]::Combine($PSScriptRoot, "..", 'Data', 'Example-ModuleStarter.txt')
2222
$Destination = [io.path]::Combine($FullProjectPath, "$ProjectName.psm1")

0 commit comments

Comments
 (0)