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 disabling departments via comment #11315

Merged
merged 1 commit into from Dec 22, 2022

Conversation

fatkodima
Copy link
Contributor

Fixes #11308.
This is a solution as in a similar from this cop -

yield comment, redundant if redundant

I was not able to reproduce it on an existing app, only on a sample new app (as mentioned in the issue description).
Was not able to create a failing test script for this too.

@bbatsov
Copy link
Collaborator

bbatsov commented Dec 22, 2022

I was not able to reproduce it on an existing app, only on a sample new app (as mentioned in the issue description).
Was not able to create a failing test script for this too.

That's weird, but I'll take your word for it.

@bbatsov bbatsov merged commit 0c5b1ec into rubocop:master Dec 22, 2022
@koic
Copy link
Member

koic commented Dec 22, 2022

Yeah, it's weird that the tests don't reproduce, but I also confirmed the fixed behavior locally.

@fatkodima fatkodima deleted the fix-disabling-departments branch December 22, 2022 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rubocop:disable Lint errors if the block contains a Lint/UselessAssignment violation
3 participants