diff --git a/lib/tasks/webpacker/yarn_install.rake b/lib/tasks/webpacker/yarn_install.rake index c60978f68..2809d8002 100644 --- a/lib/tasks/webpacker/yarn_install.rake +++ b/lib/tasks/webpacker/yarn_install.rake @@ -1,6 +1,6 @@ namespace :webpacker do desc "Support for older Rails versions. Install all JavaScript dependencies as specified via Yarn" - task :yarn_install, [:arg1, :arg2] do |task, args| - system "yarn #{args[:arg1]} #{args[:arg2]}" + task :yarn_install do + system "yarn install --no-progress --production" end end