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 Lint/UselessAssignment cop #27472

Merged

Conversation

mjankowski
Copy link
Contributor

The majority of these are spec setup areas which were probably copy/pasted from other existing examples w/out regard for whether the variable assignment was needed. Couple other places I suspect were used at some point in time but changes to the surrounding code made them unnecessary.

@ClearlyClaire ClearlyClaire merged commit bcd0171 into mastodon:main Oct 19, 2023
36 checks passed
@mjankowski mjankowski deleted the rubocop-lint-useless-assignment branch October 19, 2023 15:29
audiodude pushed a commit to audiodude/mastodon that referenced this pull request Oct 23, 2023
000hen pushed a commit to thenapnetwork/nap-mastodon that referenced this pull request Dec 6, 2023
vmstan pushed a commit to vmstan/mastodon that referenced this pull request Dec 14, 2023
vmstan pushed a commit to vmstan/mastodon that referenced this pull request Jan 5, 2024
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.

None yet

2 participants