Skip to content

Commit 35588d9

Browse files
Update module installation to capture and store the code path returned by Install-PSModule
1 parent 01fc381 commit 35588d9

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
@@ -13,7 +13,7 @@ $localTestPath = Resolve-Path -Path 'tests' | Select-Object -ExpandProperty Path
1313
switch ($settings) {
1414
'Module' {
1515
$modulePath = Resolve-Path -Path "outputs/module/$moduleName" | Select-Object -ExpandProperty Path
16-
Install-PSModule -Path $modulePath
16+
$codePath = Install-PSModule -Path $modulePath -PassThru
1717
}
1818
'SourceCode' {
1919
$codePath = Resolve-Path -Path 'src' | Select-Object -ExpandProperty Path

0 commit comments

Comments
 (0)