Browse Source

fixme rubocop

pagy
pvincent 10 months ago
parent
commit
03cb6a45a7
  1. 2
      lib/formatters/basic_formatter.rb

2
lib/formatters/basic_formatter.rb

@ -5,7 +5,7 @@ require 'amazing_print'
require 'json' require 'json'
# Opinioned Rails custom formatter # Opinioned Rails custom formatter
class BasicFormatter < SemanticLogger::Formatters::Color # rubocop:disable Metrics/ClassLength
class BasicFormatter < SemanticLogger::Formatters::Color # rubocop:disable Metrics/ClassLength #FIXME: remove rubocop disable here!
NAME_MAX_SIZE = 25 NAME_MAX_SIZE = 25
TERMINAL_PREFIX = ENV['TERMINAL_PREFIX'].to_i || 0 TERMINAL_PREFIX = ENV['TERMINAL_PREFIX'].to_i || 0
CONTENT_PREFIX = ' '.freeze CONTENT_PREFIX = ' '.freeze

Loading…
Cancel
Save