We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0794a5 commit d45369dCopy full SHA for d45369d
lib/tasks/js_routes.rake
@@ -8,7 +8,7 @@ namespace :js do
8
namespace :routes do
9
desc "Make a js file with all rails route URL helpers and typescript definitions for them"
10
task typescript: "js:routes" do
11
- ActiveSupport::Deprecation.warn(
+ ActiveSupport::Deprecation.new.warn(
12
"`js:routes:typescript` task is deprecated. Please use `js:routes` instead."
13
)
14
end
0 commit comments