From 88e8774844a3073824b676c3b155f35bb6f934bd Mon Sep 17 00:00:00 2001 From: Adrien POLY Date: Sun, 14 Jan 2024 22:43:46 +0100 Subject: [PATCH] remove deprecated yarn check --- railties/lib/rails/generators/rails/app/templates/bin/setup.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/lib/rails/generators/rails/app/templates/bin/setup.tt b/railties/lib/rails/generators/rails/app/templates/bin/setup.tt index 4ab9814459d..55d728d3591 100644 --- a/railties/lib/rails/generators/rails/app/templates/bin/setup.tt +++ b/railties/lib/rails/generators/rails/app/templates/bin/setup.tt @@ -18,7 +18,7 @@ FileUtils.chdir APP_ROOT do <% if using_node? -%> # Install JavaScript dependencies - system("yarn check --check-files") || system!("yarn install") + system("yarn install --check-files") <% elsif using_bun? -%> # Install JavaScript dependencies