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

refactor: rename category to cmdCategory in Command class #544

Merged
merged 3 commits into from
Jul 27, 2022

Conversation

kanadgupta
Copy link
Member

🚥 Fix RM-4913

🧰 Changes

Per feedback from Jon, renames a field our Command class from category to cmdCategory. It's a bit confusing given the "category" terminology in the ReadMe and rdme ecosystem.

Also made a tiny ESLint disable change in our bin/rdme file—see 3fbf38f for the reasoning.

🧬 QA & Testing

I ran any commands that I think would be affected (e.g. bin/rdme, bin/rdme openapi --help, etc.) and tests are passing now... our test suite is pretty comprehensive so I can't think of anything else that would break, but fingers crossed 😬

When debugging this, I found it useful to throw some more console logs in this file, but ESLint should flag anything that's not those three lines
@kanadgupta kanadgupta added the refactor Issues about tackling technical debt label Jul 26, 2022
@kanadgupta kanadgupta requested a review from erunion July 26, 2022 18:29
@kanadgupta kanadgupta merged commit 5ca2f06 into main Jul 27, 2022
@kanadgupta kanadgupta deleted the kanad/rm-4913-refactor-field-in-rdme-command-class branch July 27, 2022 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Issues about tackling technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants