-
Notifications
You must be signed in to change notification settings - Fork 22
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
Remove unused variables #58
Conversation
When running better-html with verbose output, I get the error: /Library/Ruby/Gems/2.6.0/gems/better_html-1.0.14 /lib/better_html/test_helper/safe_erb_tester.rb:55: warning: assigned but unused variable - tester
Before this change, I get the warning: /Library/Ruby/Gems/2.6.0/gems/better_html-1.0.14 /lib/better_html/tokenizer/base_erb.rb:52: warning: assigned but unused variable - token
I think that we can also get rid of the I tested this out for our CI and it passed. @EiNSTeiN- thoughts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We just opened #63 and missed this PR completely. Would love to get this in to reduce warnings on another internal tool.
@tomstuart / @thegedge Looks like this got approved and merged in August but the last release was in May. Would y'all be amenable to cutting a new release with this included? 🙇 ✨ 🍰 |
@maxbeizer I’ve opened #64 to do this. The build has stopped working so I’ll fix that first and then get the release out. |
✨ Thank you @tomstuart 🍰 🚀 🎊 |
v1.0.16 is now released with this change 🎉 |
👋 hello, friends!
In the latest release, I'm getting the following warnings when running the https://github.com/github/view_component test suite:
These warnings appear to be valid. The test suite does pass without these assignments.
It would be lovely if a release could be cut with these changes ❤️ Let me know if there's anything I can do to help!