rubocop Style/FrozenStringLiteralComment offence
Closed this issue · 7 comments
rahul2240 commented
Rubocop is failing because of "Style/FrozenStringLiteralComment: Missing magic comment # frozen_string_literal: true"
Ana06 commented
where? the last build in Travis is green: https://travis-ci.org/openSUSE/trollolo/builds/342254099?utm_source=github_status&utm_medium=notification 😕
rahul2240 commented
@Ana06 Travis is not showing any such offence but in my local it is showing 69 offences. 😕
Ana06 commented
how are you running rubocop? there should be something different between travis and your local setup 🤔
Ana06 commented
What Ruby version are you using? ruby --version
can you also check that the rubocop version is the correct one? bundle exec "rubocop -V"
rahul2240 commented
I am using ruby 2.4.0p0
also my rubocop version is 0.52.1
Ana06 commented
@rahul2240 is that issue fixed? 🤔