We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c46ebaf commit e818294Copy full SHA for e818294
āscripts/helpers/Build/Build-PSModuleRootModule.ps1
@@ -160,7 +160,7 @@ param()
160
#region - Module post-header
161
Add-Content -Path $rootModuleFile -Force -Value @'
162
$baseName = [System.IO.Path]::GetFileNameWithoutExtension($PSCommandPath)
163
-$script:PSModuleInfo = Test-ModuleManifest -Path "$PSScriptRoot\$baseName.psd1"
+$script:PSModuleInfo = . "$PSScriptRoot\$baseName.psd1"
164
$script:PSModuleInfo | Format-List | Out-String -Stream | ForEach-Object { Write-Debug $_ }
165
$scriptName = $script:PSModuleInfo.Name
166
Write-Debug "[$scriptName] - Importing module"
0 commit comments