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 mail_later Rubocop cop when method called on variable reference #11642

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

aduth
Copy link
Member

@aduth aduth commented Dec 13, 2024

🛠 Summary of changes

Fixes an issue where the custom mail_later Rubocop cop will fail if checking a method call on a variable reference to a mailer.

In doing so, it fixes a separate issue where errors raised in the course of performing Rubocop lint check are not output in the build output.

Previously: #11458 (comment)

Draft: This currently only implements the fix for GitLab output and a failing test case for the underlying error, but not the fix for the error.

📜 Testing Plan

Verify that the build output now displays errors occurring during Rubocop check: https://gitlab.login.gov/lg/identity-idp/-/jobs/1577667

Verify that the lint checks pass.

changelog: Internal, Static Analysis, Fix custom linter for configurable mail delivery
@aduth aduth marked this pull request as ready for review December 17, 2024 13:24
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.

1 participant