Make credo happy

This commit is contained in:
Haelwenn (lanodan) Monnier 2019-02-03 18:44:18 +01:00
commit 8bcfac93a8
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
15 changed files with 85 additions and 91 deletions

View file

@ -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