Skip to content

Commit 1946683

Browse files
🩹 [Fix]: Remove ModuleName parameter from Import-PSModule for improved clarity in module import process
1 parent b74819c commit 1946683

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
Add-PSModulePath -Path (Split-Path -Path $ModuleOutputFolder -Parent)
261-
Import-PSModule -Path $ModuleOutputFolder -ModuleName $ModuleName
261+
Import-PSModule -Path $ModuleOutputFolder
262262
}
263263

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

0 commit comments

Comments
 (0)