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

Fix cop Style/TrailingCommaInHashLiteral #11043

Merged

Conversation

archanaserver
Copy link
Contributor

What are the changes introduced in this pull request?

Based on #11009
This pull request addresses the Style/TrailingCommaInHashLiteral RuboCop offense by ensuring that all multiline hash literals in the codebase have a trailing comma after the last item.

Considerations taken when implementing this change?

Consistency and Readability, ensured that all multiline hash literals are updated uniformly with trailing commas.
Also, that the changes do not impact existing functionality or cause syntax errors.

What are the testing steps for this pull request?

bundle exec rubocop

I have used --autocorrect to fix this cop.
@archanaserver archanaserver force-pushed the fix/style-trailingcommainhashliteral branch from c0183a4 to 8666631 Compare July 11, 2024 07:52
Copy link
Member

@ianballou ianballou left a comment

Choose a reason for hiding this comment

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

Test failure is unrelated.

@ianballou ianballou merged commit 77c20b0 into Katello:master Jul 18, 2024
25 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants