Skip to content

Commit

Permalink
Fixing CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
akoutmos committed Apr 27, 2022
1 parent ba01eca commit 5a931e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
{Credo.Check.Refactor.MapJoin, []},
{Credo.Check.Refactor.NegatedConditionsInUnless, []},
{Credo.Check.Refactor.NegatedConditionsWithElse, []},
{Credo.Check.Refactor.Nesting, []},
{Credo.Check.Refactor.Nesting, [max_nesting: 3]},
{Credo.Check.Refactor.UnlessWithElse, []},
{Credo.Check.Refactor.WithClauses, []},
{Credo.Check.Refactor.FilterFilter, []},
Expand Down
6 changes: 3 additions & 3 deletions lib/mjml_eex/tokenizer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ defmodule MjmlEEx.Tokenizer do

marker =
if key in [:middle_expr, :end_expr] and marker != '' do
message =
"unexpected beginning of EEx tag \"<%#{marker}\" on \"<%#{marker}#{expr}%>\", " <>
"please remove \"#{marker}\""
message = """
unexpected beginning of EEx tag \"<%#{marker}\" on \"<%#{marker}#{expr}%>\", please remove \"#{marker}\"
"""

:elixir_errors.erl_warn({line, column}, state.file, message)
''
Expand Down

0 comments on commit 5a931e5

Please sign in to comment.