Skip to content

Commit 5f46958

Browse files
🩹 [Refactor]: Replace Add-PSModulePath with Install-PSModule in Build-PSModuleRootModule.ps1 for improved module import process
1 parent d5865d4 commit 5f46958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎scripts/helpers/Build/Build-PSModuleRootModule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ Export-ModuleMember @exports
257257
}
258258

259259
LogGroup 'Build root module - Validate - Import' {
260-
Add-PSModulePath -Path (Split-Path -Path $ModuleOutputFolder -Parent)
260+
Install-PSModule -Path $ModuleOutputFolder
261261
Import-PSModule -Path $ModuleOutputFolder
262262
}
263263

0 commit comments

Comments
 (0)