Publish Pre-release #1
@ -87,7 +87,7 @@ function Connect-To {
|
|||||||
|
|
||||||
begin {
|
begin {
|
||||||
# First check the optional modules
|
# First check the optional modules
|
||||||
If (-not (Resolve-Dependency -Name $Type)) {
|
if (-not (Resolve-Dependency -Name $Type)) {
|
||||||
Write-Error -Message ("Could not resolve the optional dependencies defined for {0}" -f $Type) -ErrorAction 'Stop'
|
Write-Error -Message ("Could not resolve the optional dependencies defined for {0}" -f $Type) -ErrorAction 'Stop'
|
||||||
}
|
}
|
||||||
switch ($Type) {
|
switch ($Type) {
|
||||||
|
Loading…
Reference in New Issue
Block a user