From 8c32a8c5fc01cc7a5e279ac0d12c2e4cbbdb89b6 Mon Sep 17 00:00:00 2001 From: Artur Petrov Date: Sat, 2 Dec 2023 14:52:47 +0300 Subject: [PATCH] Run StandardRB --- lib/futurism/engine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/futurism/engine.rb b/lib/futurism/engine.rb index 919115c..803d4d0 100644 --- a/lib/futurism/engine.rb +++ b/lib/futurism/engine.rb @@ -21,7 +21,7 @@ class Engine < ::Rails::Engine end initializer "futurism.logger", after: "initialize_logger" do - Futurism.logger ||= Rails.logger ? Rails.logger : Logger.new($stdout) + Futurism.logger ||= Rails.logger || Logger.new($stdout) end end end