Remove dbg

This commit is contained in:
Simon Prévost 2023-08-04 14:54:40 -04:00
parent 578a474666
commit ee002f5b88
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@
{Credo.Check.Readability.TrailingBlankLine},
{Credo.Check.Readability.TrailingWhiteSpace},
{Credo.Check.Readability.VariableNames},
{Credo.Check.Readability.WithSingleClause, false},
{Credo.Check.Refactor.ABCSize, max_size: 60},
{Credo.Check.Refactor.CaseTrivialMatches},
{Credo.Check.Refactor.CondStatements},

View File

@ -29,7 +29,7 @@ defmodule Movement.MachineTranslations do
with true <- operation.machine_translations_enabled,
text = Map.get(translated_texts, operation.key),
true <- text !== operation.text do
dbg(%{operation | text: text, machine_translated: true})
%{operation | text: text, machine_translated: true}
else
_ -> operation
end