Prepare next release 0.2.1.X #18
@ -75,7 +75,10 @@ function Resolve-Dependency {
|
|||||||
foreach ($Module in $SelectedDependency.Modules) {
|
foreach ($Module in $SelectedDependency.Modules) {
|
||||||
$res += Test-Module -Name $Module
|
$res += Test-Module -Name $Module
|
||||||
}
|
}
|
||||||
if ($res -contains $false) {
|
if ($res.count -eq 0) {
|
||||||
|
return $false
|
||||||
|
}
|
||||||
|
elseif ($res.count -contains $false) {
|
||||||
return $false
|
return $false
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user