We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb67460 commit ad0bd24Copy full SHA for ad0bd24
scripts/Start-EditorServices.ps1
@@ -195,7 +195,7 @@ if ((Test-ModuleAvailable "PowerShellGet") -eq $false) {
195
# Check if the expected version of the PowerShell Editor Services
196
# module is installed
197
$parsedVersion = New-Object System.Version @($EditorServicesVersion)
198
-if ((Test-ModuleAvailable "PowerShellEditorServices" -RequiredVersion $parsedVersion) -eq $false) {
+if ((Test-ModuleAvailable "PowerShellEditorServices" $parsedVersion) -eq $false) {
199
if ($ConfirmInstall -and $isPS5orLater) {
200
# TODO: Check for error and return failure if necessary
201
Install-Module "PowerShellEditorServices" -RequiredVersion $parsedVersion -Confirm
0 commit comments