Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Parse Ruby Version from .tool-versions Since v1.222.0 #719

Closed
Karibash opened this issue Mar 11, 2025 · 0 comments · Fixed by #720
Closed

Unable to Parse Ruby Version from .tool-versions Since v1.222.0 #719

Karibash opened this issue Mar 11, 2025 · 0 comments · Fixed by #720

Comments

@Karibash
Copy link
Contributor

Since version v1.222.0, the tool is unable to correctly parse the Ruby version from the .tool-versions file. This issue was introduced by PR #717, which changed the version parsing logic.

Steps to Reproduce

  1. Create a .tool-versions file with multiple spaces between the tool name and version:
flutter 3.29.1  
ruby    3.4.2  
  1. Try to retrieve the Ruby version using the tool.

Expected Behavior

The tool should correctly parse and return the Ruby version (3.4.2).

Actual Behavior

The tool fails to retrieve the Ruby version when multiple spaces exist between the tool name and version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant