From e2dfdcc1dd5e4376bda17a5bd8f05bdbbd7ebe1d Mon Sep 17 00:00:00 2001 From: osc-bot <78549874+osc-bot@users.noreply.github.com> Date: Wed, 19 Jul 2023 08:31:54 -0500 Subject: [PATCH] lint a random file (#2918) --- apps/dashboard/config/environments/production.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/dashboard/config/environments/production.rb b/apps/dashboard/config/environments/production.rb index 8a0fc234a2..1f1e3e3d09 100644 --- a/apps/dashboard/config/environments/production.rb +++ b/apps/dashboard/config/environments/production.rb @@ -1,4 +1,6 @@ -require "active_support/core_ext/integer/time" +# frozen_string_literal: true + +require 'active_support/core_ext/integer/time' Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. @@ -70,8 +72,8 @@ # require "syslog/logger" # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name') - if ENV["RAILS_LOG_TO_STDOUT"].present? - logger = ActiveSupport::Logger.new(STDOUT) + if ENV['RAILS_LOG_TO_STDOUT'].present? + logger = ActiveSupport::Logger.new($stdout) logger.formatter = config.log_formatter config.logger = ActiveSupport::TaggedLogging.new(logger) end