Skip to content

Commit d44a3c0

Browse files
committed
Merge pull request rails#23929 from prathamesh-sonpatki/update-deprecation-message-for-app-namespace
Update deprecation message shown when tasks from rails namespace are run
2 parents a0d6209 + 8399dbb commit d44a3c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

railties/lib/rails/tasks/framework.rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ namespace :rails do
7373
%i(update template templates:copy update:configs update:bin).each do |task_name|
7474
task "#{task_name}" do
7575
ActiveSupport::Deprecation.warn(<<-MSG.squish)
76-
Running #{task_name} with the rails: namespace is deprecated in favor of app.
77-
Run e.g. bin/rails app:#{task_name} instead."
76+
Running #{task_name} with the rails: namespace is deprecated in favor of app: namespace.
77+
Run bin/rails app:#{task_name} instead.
7878
MSG
7979
Rake.application.invoke_task("app:#{task_name}")
8080
end

0 commit comments

Comments
 (0)