This commit is contained in:
parent
eda6547ba3
commit
7eae91ea3c
|
@ -41,7 +41,7 @@ function Import-LocalModule
|
|||
Write-Verbose "$Name already downloaded"
|
||||
$versions = Get-ChildItem "$modules_root\$Name" | Sort-Object
|
||||
|
||||
Get-ChildItem -Path $versions[0] "$Name.psd1" | Import-Module
|
||||
Get-ChildItem -Path "$modules_root\$Name\$($versions[0])\$Name.psd1" | Import-Module
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue