Skip to content

Commit

Permalink
[refactor] format: Elixir 1.12 has a different format requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcaruana committed May 20, 2021
1 parent 8476796 commit 99b233f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/last_crusader/webmentions/webmentions_sender.ex
Expand Up @@ -37,9 +37,7 @@ defmodule LastCrusader.Webmentions.Sender do

defp do_schedule_webmentions(links, origin, nb_max_tries, nb_tried) do
Logger.info(
"Sending webmentions from #{inspect(origin)} to #{inspect(links)}: scheduled. try #{
inspect(nb_tried)
}/#{inspect(nb_max_tries)}"
"Sending webmentions from #{inspect(origin)} to #{inspect(links)}: scheduled. try #{inspect(nb_tried)}/#{inspect(nb_max_tries)}"
)

Task.async(fn -> start_task(origin, links, nb_max_tries, nb_tried) end)
Expand All @@ -56,9 +54,7 @@ defmodule LastCrusader.Webmentions.Sender do

defp send_webmentions(origin, links, nb_max_tries, nb_tried) do
Logger.info(
"Sending webmentions from #{inspect(origin)} to #{inspect(links)}: try #{inspect(nb_tried)}/#{
inspect(nb_max_tries)
}"
"Sending webmentions from #{inspect(origin)} to #{inspect(links)}: try #{inspect(nb_tried)}/#{inspect(nb_max_tries)}"
)

{:ok, sent} = Webmentions.send_webmentions_for_links(origin, links)
Expand Down

0 comments on commit 99b233f

Please sign in to comment.