mirror of https://github.com/rails/rails
Merge pull request #34279 from bogdanvlviv/remove-extra-remove_file-skip_action_cable
Remove extra call `remove_file` on `rails new` with `--skip_action_cable`
This commit is contained in:
commit
dc67615920
|
@ -438,7 +438,6 @@ module Rails
|
|||
|
||||
def delete_action_cable_files_skipping_action_cable
|
||||
if options[:skip_action_cable]
|
||||
remove_file "app/javascript/channels/consumer.js"
|
||||
remove_dir "app/javascript/channels"
|
||||
remove_dir "app/channels"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue