Treat warnings as errors outside of tests.
This commit is contained in:
parent
e94c3442f4
commit
c81c74d847
6 changed files with 12 additions and 9 deletions
|
|
@ -150,7 +150,7 @@ defmodule Pleroma.Web.Federator do
|
|||
end
|
||||
|
||||
if Mix.env() == :test do
|
||||
def enqueue(type, payload, priority \\ 1) do
|
||||
def enqueue(type, payload, _priority \\ 1) do
|
||||
if Pleroma.Config.get([:instance, :federating]) do
|
||||
handle(type, payload)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue