Skip to content

Commit bb2d9b1

Browse files
Fix module copy command to include all files in the source path
1 parent b7ce99a commit bb2d9b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/main.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ switch ($settings) {
2424
Test-ModuleManifest -Path $manifestFilePath -Verbose
2525
$PSModulePath = $env:PSModulePath -split [System.IO.Path]::PathSeparator | Select-Object -First 1
2626
$codePath = New-Item -Path "$PSModulePath/$moduleName/999.0.0" -ItemType Directory -Force
27-
Copy-Item -Path $modulePath -Destination $codePath -Recurse -Force
27+
Copy-Item -Path "$modulePath/*" -Destination $codePath -Recurse -Force
2828
Get-ChildItem -Path $codePath -Recurse | Select-Object FullName | Out-String
2929

3030
Get-Module -ListAvailable | Format-Table -AutoSize | Out-String

0 commit comments

Comments
 (0)