Skip to content

Commit 41d0e68

Browse files
committed
lint
1 parent 8d6dbc5 commit 41d0e68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/secure_headers/headers/content_security_policy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def populate_nonces(directive, source_list)
213213
# unsafe-inline, this is more concise.
214214
def append_nonce(source_list, nonce)
215215
if nonce
216-
source_list.push(*["'nonce-#{nonce}'", UNSAFE_INLINE])
216+
source_list.push("'nonce-#{nonce}'", UNSAFE_INLINE)
217217
end
218218

219219
source_list

0 commit comments

Comments
 (0)