projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a02eb88
)
Use Enum.any? to ensure we return true if there are results
author
Mark Felder
<feld@FreeBSD.org>
Fri, 4 Dec 2020 17:04:53 +0000
(11:04 -0600)
committer
Mark Felder
<feld@FreeBSD.org>
Fri, 4 Dec 2020 17:04:53 +0000
(11:04 -0600)
lib/mix/tasks/pleroma/config.ex
patch
|
blob
|
history
diff --git
a/lib/mix/tasks/pleroma/config.ex
b/lib/mix/tasks/pleroma/config.ex
index 63d8c46b5779827f168b8d89ae0f641e17a0d5f7..d2e9a3760c8b50054cfe990d1276f97654b00d35 100644
(file)
--- a/
lib/mix/tasks/pleroma/config.ex
+++ b/
lib/mix/tasks/pleroma/config.ex
@@
-297,7
+297,7
@@
defmodule Mix.Tasks.Pleroma.Config do
defp group_exists?(group) do
group
|> ConfigDB.get_all_by_group()
- |> Enum.
empt
y?()
+ |> Enum.
an
y?()
end
defp maybe_atomize(arg) when is_atom(arg), do: arg