Fix mix format and format migrations too

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Fix credo warnings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Show elixir version

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Also lint migrations

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Reset allow failure to false

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-02-22 14:18:52 +01:00
parent 5024dfbbef
commit 7dd7e8fc36
52 changed files with 370 additions and 324 deletions

View File

@@ -1,4 +1,7 @@
defmodule MobilizonWeb.API.Search do
@moduledoc """
API for Search
"""
alias Mobilizon.Service.ActivityPub
alias Mobilizon.Actors
alias Mobilizon.Actors.Actor
@@ -80,7 +83,7 @@ defmodule MobilizonWeb.API.Search do
actor
else
{:error, _err} ->
Logger.debug("Unable to find or make actor '#{search}'")
Logger.debug(fn -> "Unable to find or make actor '#{search}'" end)
nil
end
end
@@ -92,7 +95,7 @@ defmodule MobilizonWeb.API.Search do
object
else
{:error, _err} ->
Logger.debug("Unable to find or make object from URL '#{search}'")
Logger.debug(fn -> "Unable to find or make object from URL '#{search}'" end)
nil
end
end