kirillplatonov / hotwire-livereload

Live reload gem for Hotwire Rails apps.
MIT License
483 stars 28 forks source link

Fix redis not being uncommented if single quotes are used #25

Closed unikitty37 closed 2 years ago

unikitty37 commented 2 years ago

Single quotes are required for non-interpolated string literals on some projects. If the Gemfile has been converted to use single quotes, including commented lines, then uncomment_lines will fail to find it.

(This may be a corner case — RuboCop will not alter the quotes in the commented line, but a developer may have done it manually, perhaps by using their IDE's "convert quotes" functionality.)