From b5023dec54a93a0f154b0728b1c88b2133839aac Mon Sep 17 00:00:00 2001 From: Szymon Fiedler Date: Mon, 9 Oct 2023 17:51:37 +0200 Subject: [PATCH] Formatting --- APP_TEMPLATE | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/APP_TEMPLATE b/APP_TEMPLATE index 31526a829a..673721fd9a 100644 --- a/APP_TEMPLATE +++ b/APP_TEMPLATE @@ -85,9 +85,7 @@ CODE route "mount RailsEventStore::Browser => '/res' if Rails.env.development?" -profile.for_existing_app do - run_bundle unless run "bundle check" -end +profile.for_existing_app { run_bundle unless run "bundle check" } after_bundle do rails_command "db:create" @@ -95,6 +93,4 @@ after_bundle do rails_command "db:migrate" end -profile.for_existing_app do - run_after_bundle_callbacks -end +profile.for_existing_app { run_after_bundle_callbacks }