1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix rubocop offense

This commit is contained in:
Jose Galisteo 2021-09-04 20:44:11 +02:00
parent abc43f0448
commit 86ee45477c

View file

@ -67,7 +67,7 @@ module Rails
def import_channel_in_javascript_entrypoint def import_channel_in_javascript_entrypoint
append_to_file "app/javascript/channels/index.js", append_to_file "app/javascript/channels/index.js",
using_node? ? %(import "./#{file_name}_channel"\n) : %(import "channels/#{file_name}_channel"\n) using_node? ? %(import "./#{file_name}_channel"\n) : %(import "channels/#{file_name}_channel"\n)
end end
def install_javascript_dependencies def install_javascript_dependencies