Skip to content

Commit abc042c

Browse files
author
David Heinemeier Hansson
committed
Fix trailing whitespace
1 parent 82e4432 commit abc042c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actioncable/lib/rails/generators/channel/channel_generator.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ def create_channel_javascript_file
6161
end
6262

6363
def import_channels_in_javascript_entrypoint
64-
append_to_file "app/javascript/application.js",
64+
append_to_file "app/javascript/application.js",
6565
using_node? ? %(import "./channels"\n) : %(import "channels"\n)
6666
end
6767

6868
def import_channel_in_javascript_entrypoint
6969
append_to_file "app/javascript/channels/index.js",
70-
using_node? ? %(import "./#{file_name}_channel"\n) : %(import "channels/#{file_name}_channel"\n)
70+
using_node? ? %(import "./#{file_name}_channel"\n) : %(import "channels/#{file_name}_channel"\n)
7171
end
7272

7373
def install_javascript_dependencies

0 commit comments

Comments
 (0)