Skip to content

Commit be6767e

Browse files
🩹 [Refactor]: Replace Import-PSModule with Import-Module for consistency in module loading
1 parent 5f46958 commit be6767e

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
@@ -258,7 +258,7 @@ Export-ModuleMember @exports
258258

259259
LogGroup 'Build root module - Validate - Import' {
260260
Install-PSModule -Path $ModuleOutputFolder
261-
Import-PSModule -Path $ModuleOutputFolder
261+
Import-Module -Name $ModuleName
262262
}
263263

264264
LogGroup 'Build root module - Validate - File list' {

0 commit comments

Comments
 (0)