Skip to content

Conversation

@artus9033
Copy link
Collaborator

@artus9033 artus9033 commented Dec 8, 2025

Summary

This PR addresses the refactor idea brought up in #163. There are multiple places in code similar to val upperCaseVariantName = variant.name.replaceFirstChar(Char::titlecase), which are misleading: the transform alters the first char to be uppercase, rest remains the same; the name is therefore misleading since it claims the whole variable would be uppercase. A name I'd suggest is capitalizedVariantName, since it reflects the naming best in my opinion.

Fixes - #164

Test plan

CI green.

@artus9033 artus9033 self-assigned this Dec 8, 2025
@artus9033 artus9033 added enhancement New feature or request javascript Pull requests that update javascript code and removed javascript Pull requests that update javascript code labels Dec 8, 2025
Copy link
Member

@hurali97 hurali97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@artus9033 artus9033 merged commit ff08de2 into main Dec 8, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants