Skip to content

Commit

Permalink
Remove logging statements 🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
mereghost committed Dec 10, 2024
1 parent f37b9d1 commit 0587d1f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/open_project/journal_formatter/custom_field/plain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ def format_details(key, values)
label = label_for_custom_field(custom_field)

old_value, value = if custom_field
coisa = get_formatted_values(custom_field, values)
Rails.logger.error "[MARCELLOGGER] #{coisa.inspect}"
coisa
get_formatted_values(custom_field, values)
else
[values.first, values.last]
end
Expand Down Expand Up @@ -71,8 +69,6 @@ def get_modifier_function(custom_field)
end

def formatted_values(custom_field, values, modifier_fn)
Rails.logger.error "[MARCELLOGGER] #{values.inspect} #{modifier_fn.inspect} #{custom_field.inspect}"

values.map { |value| formatted_value(custom_field, value, modifier_fn) }
end

Expand Down

0 comments on commit 0587d1f

Please sign in to comment.