Skip to content

Commit

Permalink
Fix Style/CaseEquality
Browse files Browse the repository at this point in the history
  • Loading branch information
barrucadu committed Jul 20, 2020
1 parent c1739f6 commit 851e031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/govuk_app_config/govuk_logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def self.configure
$real_stdout, # rubocop:disable Style/GlobalVars
level: Rails.logger.level,
formatter: proc { |_severity, _datetime, _progname, msg|
"#{String === msg ? msg : msg.inspect}\n"
"#{msg.is_a?(String) ? msg : msg.inspect}\n"
},
)
Rails.application.config.logstasher.suppress_app_log = true
Expand Down

0 comments on commit 851e031

Please sign in to comment.