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

Do not show deprecate task in the task list

This commit is contained in:
yuuji.yaginuma 2018-08-16 08:39:22 +09:00
parent 977d77e9e2
commit c710ffa37e

View file

@ -4,7 +4,6 @@ require "rails/command"
require "active_support/deprecation"
namespace :dev do
desc "Toggle development mode caching on/off"
task :cache do
ActiveSupport::Deprecation.warn("Using `bin/rake dev:cache` is deprecated and will be removed in Rails 6.1. Use `bin/rails dev:cache` instead.\n")
Rails::Command.invoke "dev:cache"