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 fafc369 commit 771824cCopy full SHA for 771824c
tools/UpdateModules.ps1
@@ -85,7 +85,7 @@ function New-ModulePsm1 {
85
# Create imports for nested modules.
86
if ($ModuleMetadata.NestedModules -ne $null) {
87
foreach ($dll in $ModuleMetadata.NestedModules) {
88
- $importedModules += "Import-Module (Join-Path -Path `$PSScriptRoot -ChildPath " + $dll.Substring(2) + ")`r`n"
+ $importedModules += "Import-Module (Join-Path -Path `$PSScriptRoot -ChildPath " + $dll + ")`r`n"
89
}
90
91
0 commit comments