aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/tasks.rb')
-rw-r--r--railties/lib/rails/tasks.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/tasks.rb b/railties/lib/rails/tasks.rb
index 48675b3845..2f644a20c9 100644
--- a/railties/lib/rails/tasks.rb
+++ b/railties/lib/rails/tasks.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "rake"
# Load Rails Rakefile extensions
@@ -12,6 +14,7 @@ require "rake"
restart
routes
tmp
+ yarn
).tap { |arr|
arr << "statistics" if Rake.application.current_scope.empty?
}.each do |task|