Skip to content

Commit

Permalink
fix bug on it
Browse files Browse the repository at this point in the history
  • Loading branch information
ccmywish committed May 8, 2022
1 parent 6dbb1d6 commit cceb419
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/version.ps1
Expand Up @@ -93,6 +93,7 @@ function get_all_installed_versions {

if ($env:RBENV_SYSTEM_RUBY) {
if ($versions.Count -eq 0) { $versions = @() }
if ($versions.Count -eq 1) { $versions = @() + $versions }
$versions = [Collections.ArrayList] $versions
$versions.Insert(0, "system")
}
Expand Down

0 comments on commit cceb419

Please sign in to comment.