Skip to content

Commit 5a9ac0b

Browse files
Fix module copy path in main.ps1 to ensure correct installation of module files
1 parent 22526b5 commit 5a9ac0b

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
@@ -23,7 +23,7 @@ switch ($settings) {
2323
Resolve-PSModuleDependency -ManifestFilePath $manifestFilePath
2424
$PSModulePath = $env:PSModulePath -split [System.IO.Path]::PathSeparator | Select-Object -First 1
2525
$codePath = New-Item -Path "$PSModulePath/$moduleName/999.0.0" -ItemType Directory -Force
26-
Copy-Item -Path $codePath -Destination $codePath -Recurse -Force
26+
Copy-Item -Path $modulePath -Destination $codePath -Recurse -Force
2727
Get-ChildItem -Path $codePath -Recurse | Select-Object FullName | Out-String
2828
Import-Module -Name $moduleName -Verbose
2929
}

0 commit comments

Comments
 (0)