Skip to content

Commit

Permalink
rubocop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanEddyIC authored and bbodine1 committed Dec 21, 2024
1 parent 2278696 commit a176df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/rails_csp_nonce.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def call(env)
def nonce_node(node, nonce, kind, ad_request)
return if node["src"] || node["integrity"] || node["nonce"]
node["nonce"] = nonce
ad_request.logger.tagged("CSPTagMissingNonce") { |tl| tl.warn("#{kind} tag is missing a nonce: #{ad_request.original_url}" ) }
ad_request.logger.tagged("CSPTagMissingNonce") { |tl| tl.warn("#{kind} tag is missing a nonce: #{ad_request.original_url}") }
end
end
end
Expand Down

0 comments on commit a176df4

Please sign in to comment.