0
0
Fork 0

Update rubocop to version 1.69.1 (#32967)

This commit is contained in:
Matt Jankowski 2024-12-09 09:52:49 -05:00 committed by GitHub
parent 6615f17b48
commit 342055cb15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 25 additions and 14 deletions

View file

@ -1,6 +1,6 @@
# frozen_string_literal: true
dev_null = Logger.new('/dev/null')
dev_null = Logger.new(File::NULL)
Rails.logger = dev_null
ActiveRecord::Base.logger = dev_null

View file

@ -592,7 +592,7 @@ namespace :mastodon do
end
def disable_log_stdout!
dev_null = Logger.new('/dev/null')
dev_null = Logger.new(File::NULL)
Rails.logger = dev_null
ActiveRecord::Base.logger = dev_null