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

ERB file with dash (-) in the filename causing parsing issues when ERB is in the file #388

Open
silasb opened this issue Dec 17, 2024 · 0 comments

Comments

@silasb
Copy link

silasb commented Dec 17, 2024

I have several ERB files that have dash in the filename which cause:

Exception occurred when processing: lib/pdfs/templates/xyz/discounts-savings_table/additional-pairs-of.svg.erb
If this file cannot be processed by erb_lint, you can exclude it in your configuration file.
undefined method `begin' for an instance of RuboCop::Cop::Offense::PseudoSourceRange

If I rename the file to use underscores instead of dashes it parses fine OR if the file contains dashes in the name, but contains no ERB it parses fine.

@silasb silasb changed the title ERB file with dash (-) in it causing parsing issues when ERB is in the file ERB file with dash (-) in the filename causing parsing issues when ERB is in the file Dec 17, 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

No branches or pull requests

1 participant