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
1 changed files with 0 additions and 1 deletions

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