@ -170,7 +170,7 @@ class BasicFormatter < SemanticLogger::Formatters::Color # rubocop:disable Metri
end
def backtrace(stack)
nil unless stack.count.positive?
return unless stack.count.positive?
"\n#{before_message} #{ANSI_ERROR}↳ #{stack.join("\n#{before_message} #{ANSI_ERROR}↳ ")}#{color_map.clear}"