File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -216,9 +216,9 @@ function Install-AIShellModule {
216216 $psrlModule = Get-Module - Name PSReadLine
217217 $psrlVer = $psrldep.Contains (' -' ) ? $psrldep.Split (' -' )[0 ] : $psrldep
218218 if ($null -eq $psrlModule -or $psrlModule.Version -lt [version ]$psrlVer ) {
219- Write-Host " - This version of AIShell module depends on PSReadLine '$psrldep ', which is missing."
220- Write-Host " Installing the PowerShell module 'PSReadLine' $psrldep ..."
221- Install-PSResource - Name PSReadLine - Repository PSGallery - Prerelease - TrustRepository - Version $psrldep - ErrorAction Stop - WarningAction SilentlyContinue
219+ Write-Host " - This version of AIShell module depends on PSReadLine '$psrldep ' or higher , which is missing."
220+ Write-Host " Installing the PowerShell module 'PSReadLine' $psrldep or a higher version ..."
221+ Install-PSResource - Name PSReadLine - Repository PSGallery - Prerelease - TrustRepository - Version " [ $psrldep , ] " - ErrorAction Stop - WarningAction SilentlyContinue
222222 $Script :NewPSRLInstalled = $true
223223 }
224224 }
You can’t perform that action at this time.
0 commit comments