From 17f6c0368e88104df01c3fc68478561ec2861524 Mon Sep 17 00:00:00 2001 From: akumari Date: Thu, 22 Feb 2024 14:52:27 +0530 Subject: [PATCH] Refs #37926 - Fix Layout/BeginEndAlignment cop --- lib/tasks/dynflow.rake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/tasks/dynflow.rake b/lib/tasks/dynflow.rake index 36495d29ab6..a830ca84cc5 100644 --- a/lib/tasks/dynflow.rake +++ b/lib/tasks/dynflow.rake @@ -13,10 +13,10 @@ namespace :dynflow do def dynflow_persistence @persistence ||= begin - config = Dynflow::Rails::Configuration.new - config.db_pool_size = 1 # To prevent automatic detection - config.send(:initialize_persistence, nil, :migrate => false, :logger => Foreman::Logging.logger('sql')) - end + config = Dynflow::Rails::Configuration.new + config.db_pool_size = 1 # To prevent automatic detection + config.send(:initialize_persistence, nil, :migrate => false, :logger => Foreman::Logging.logger('sql')) + end end task :migrate => :environment do