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

Two files that cause Reek to crash #1586

Closed
pitosalas opened this issue Feb 10, 2021 · 3 comments
Closed

Two files that cause Reek to crash #1586

pitosalas opened this issue Feb 10, 2021 · 3 comments

Comments

@pitosalas
Copy link

These two files cause Reek to crash after saying that there was a syntax error. I don't know if the crash and stack trace are intentional.

bad1.txt
bad.txt

@troessner
Copy link
Owner

Both files contain syntax errors because at least one "end" is missing in both (just did a cursory glance) so this is not related to Reek:

ruby -c bad.txt
bad.txt:60: syntax error, unexpected end-of-input, expecting `end'

@pitosalas
Copy link
Author

Agreed. But I was just asking whether the stack trace was intentional.

@troessner
Copy link
Owner

Yes, the stacktrace at the end of Reeks output is indeed intentional ;)

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

2 participants