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

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:
Ryuta Kamizono 2018-10-22 21:56:00 +09:00 committed by GitHub
commit dc67615920
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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