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 ERB parsing when running deadcode CLI command #555

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Conversation

Morriar
Copy link
Collaborator

@Morriar Morriar commented Jun 13, 2024

The CLI command was resolving ERB to ::ERB instead of Spoom::Deadcode::ERB which is not applying all the needed transformation to the compiled Ruby code and was resulting in parse errors.

Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
@Morriar Morriar added the bugfix Fix a bug label Jun 13, 2024
@Morriar Morriar self-assigned this Jun 13, 2024
@Morriar Morriar requested a review from a team as a code owner June 13, 2024 13:56
@Morriar Morriar requested review from amomchilov and egiurleo June 13, 2024 13:56
Copy link
Contributor

@amomchilov amomchilov left a comment

Choose a reason for hiding this comment

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

😄

@Morriar Morriar merged commit c95d58a into main Jun 13, 2024
8 checks passed
@Morriar Morriar deleted the at-fix-erb branch June 13, 2024 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fix a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants