Commit e09127f 1 parent 37f5024 commit e09127f Copy full SHA for e09127f
File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 17
17
- ** installed:** Fix 'core/installed' that mark failed app as 'installed' ([ #4650 ] ( https://github.com/ScoopInstaller/Scoop/issues/4650 ) )
18
18
- ** shim:** Fix PS1 shim error when in different drive in PS7 ([ #4614 ] ( https://github.com/ScoopInstaller/Scoop/issues/4614 ) )
19
19
- ** shim:** Fix ` sh ` shim error in WSL ([ #4637 ] ( https://github.com/ScoopInstaller/Scoop/issues/4637 ) )
20
+ - ** versions:** Fix wrong version number when only one version dir ([ #4679 ] ( https://github.com/ScoopInstaller/Scoop/issues/4679 ) )
20
21
- ** scoop-cleanup:** Remove apps other than current version ([ #4665 ] ( https://github.com/ScoopInstaller/Scoop/issues/4665 ) )
21
22
- ** scoop-update:** Skip updating non git buckets ([ #4670 ] ( https://github.com/ScoopInstaller/Scoop/issues/4670 ) )
22
23
- ** scoop-update:** Remove 'Done.' output ([ #4672 ] ( https://github.com/ScoopInstaller/Scoop/issues/4672 ) )
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ function Select-CurrentVersion {
59
59
} else {
60
60
$installedVersion = Get-InstalledVersion - AppName $AppName - Global:$Global
61
61
if ($installedVersion ) {
62
- $currentVersion = $installedVersion [-1 ]
62
+ $currentVersion = @ ( $installedVersion ) [-1 ]
63
63
} else {
64
64
$currentVersion = $null
65
65
}
You can’t perform that action at this time.
0 commit comments