Skip to content

fix(versions): Fix wrong version number when only one version dir#4679

Merged
niheaven merged 2 commits intodevelopfrom
fix-versions
Jan 21, 2022
Merged

fix(versions): Fix wrong version number when only one version dir#4679
niheaven merged 2 commits intodevelopfrom
fix-versions

Conversation

@niheaven
Copy link
Copy Markdown
Member

@niheaven niheaven commented Jan 21, 2022

Description

A bug in versions/Select-CurrentVersion(), when there is and only is a single version dir under appdir (should be caused by failure uninstallation), the function got wrong version number.

Motivation and Context

Relates to #3721

How Has This Been Tested?

Before:
image

After:
image

Checklist:

  • I have read the Contributing Guide.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

@niheaven niheaven merged commit e09127f into develop Jan 21, 2022
@niheaven niheaven deleted the fix-versions branch January 21, 2022 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants