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

fixed not recognizing one digit CarMaker versions #18

Conversation

arpadlomenipg
Copy link
Contributor

@arpadlomenipg arpadlomenipg commented Mar 28, 2024

Contributes to TD-2263

Changes

In some cases, the RegEx search patterns in the isValidInfoFile function were looking for version numbers. However, it was looking for double digit version numbers, so CM8 and CM9 would be regarded as invalid. The new seach pattern just looks for the first digit of the version number, so this bug would occurp anymore.

Dependencies

UI/UX

Testing notes

Author checklist before assigning a reviewer

  • Reviewed my own code-diff.
  • Branch has been run in docker.
  • PR assigned to me or an appropriate delegate.
  • Relevant labels added to the PR.
  • Appropriate tests have been added.
  • Lint and test workflows pass.

@arpadlomenipg arpadlomenipg self-assigned this Mar 28, 2024
@arpadlomenipg arpadlomenipg added the bug Something isn't working label Mar 28, 2024
@arpadlomenipg
Copy link
Contributor Author

I added the unit tests for the one-digit version numbers

@mattcorner mattcorner merged commit 132d8cc into main Apr 9, 2024
2 checks passed
@mattcorner mattcorner deleted the bug/one-digit-carmaker-version-numbers-not-recognized-as-valid branch April 9, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants