Make credo happy
This commit is contained in:
parent
c5f8df08a7
commit
8bcfac93a8
15 changed files with 85 additions and 91 deletions
|
|
@ -211,7 +211,7 @@ defmodule Mix.Tasks.Pleroma.User do
|
|||
|
||||
user = Repo.get(User, user.id)
|
||||
|
||||
if length(user.following) == 0 do
|
||||
if Enum.empty?(user.following) do
|
||||
Mix.shell().info("Successfully unsubscribed all followers from #{user.nickname}")
|
||||
end
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue