Lint
This commit is contained in:
parent
d383c453a1
commit
41ab347571
4 changed files with 17 additions and 9 deletions
|
|
@ -342,6 +342,7 @@ defmodule Mix.Tasks.Pleroma.Config do
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
@spec migrate_to_db(Path.t() | nil) :: any()
|
||||
def migrate_to_db(file_path \\ nil) do
|
||||
with :ok <- Pleroma.Config.DeprecationWarnings.warn() do
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ defmodule Pleroma.Web.AdminAPI.ConfigController do
|
|||
|
||||
{blacklisted_group, blacklisted_key} ->
|
||||
group == inspect(blacklisted_group) and key == inspect(blacklisted_key)
|
||||
end)
|
||||
end)
|
||||
else
|
||||
true
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue