Skip to content

Commit 9dcf2a1

Browse files
committed
Style
1 parent e0c1676 commit 9dcf2a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/helpers/importmap/importmap_tags_helper.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ def javascript_importmap_shim_tag(minimized: true)
3434
# Import a named JavaScript module(s) using a script-module tag.
3535
def javascript_import_module_tag(*module_names)
3636
imports = Array(module_names).collect { |m| %(import "#{m}") }.join("\n")
37-
tag.script imports.html_safe,
38-
type: "module", nonce: request&.content_security_policy_nonce
37+
tag.script imports.html_safe, type: "module", nonce: request&.content_security_policy_nonce
3938
end
4039

4140
# Link tags for preloading all modules marked as preload: true in the `importmap`

0 commit comments

Comments
 (0)