You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
10:06 % rubocop -V 2016-07-06 10:06:40
0.41.1 (using Parser 2.3.1.2, running on ruby 2.3.1 x86_64-linux)
robert@rd ~/facilecomm/facilecomm_v2 (rd/FCV-1231/upgrade_rubocop✗) (ruby-2.3.1@facilecomm_v2), node-5.10.1
10:06 % cat xxx.rb 2016-07-06 10:06:53
# frozen_string_literal: true
class M
attr_reader :raw
def a
puts raw
end
end
robert@rd ~/facilecomm/facilecomm_v2 (rd/FCV-1231/upgrade_rubocop✗) (ruby-2.3.1@facilecomm_v2), node-5.10.1
10:07 % rubocop -a xxx.rb 2016-07-06 10:07:02
Inspecting 1 file
C
Offenses:
xxx.rb:5:10: C: Tagging a string as html safe may be a security risk, \
prefer safe_join or other Rails tag helpers instead
puts raw
^^^
1 file inspected, 1 offense detected
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: