You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throw"Unable to find a locally available extension with name (or handle) `"$Extension`": use the Install-PhpExtension to download it"
53
56
}
54
57
if ($foundExtensions.Count-ne1) {
55
-
throw"Multiple extensions match the name (or handle) `"$Extension`""
58
+
$msg="Multiple extensions match the name (or handle) `"$Extension`":"
59
+
foreach ($foundExtensionin$foundExtensions) {
60
+
$msg+="`n- handle: $($foundExtension.Handle) version $($foundExtension.Version)"
61
+
}
62
+
$msg+="`nYou can filter the extension to enable by adding :version to the -Extension parameter (example: `"-Extension '$($foundExtension.Handle):$($foundExtension.Version)'`")"
0 commit comments