Skip to content

Commit

Permalink
Remove Logger.debug (#504)
Browse files Browse the repository at this point in the history
* Remove debug

* Remove unused match variable
  • Loading branch information
alexanderttalvarez authored Dec 19, 2024
1 parent 8e19bd7 commit 55c4afb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/earmark_parser/line_scanner.ex
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,7 @@ defmodule Earmark.Parser.LineScanner do

defp _create_list_item(match, indent, line)

defp _create_list_item([_, bullet, spaces, text] = match, indent, line) do
Logger.debug(
"Creating list item: #{inspect(match)}, indent: #{inspect(indent)}, line: #{inspect(line)}"
)

defp _create_list_item([_, bullet, spaces, text], indent, line) do
sl = byte_size(spaces)
sl1 = if sl > 3, do: 1, else: sl + 1
sl2 = sl1 + byte_size(bullet)
Expand Down

0 comments on commit 55c4afb

Please sign in to comment.