don't add behaviour to suggestions

This commit is contained in:
Alex S 2019-09-03 09:45:54 +03:00
parent 5db2920644
commit 35757b6d0e

View file

@ -14,7 +14,7 @@ def uploaders_list do
name_as_list = Module.split(module) name_as_list = Module.split(module)
List.starts_with?(name_as_list, ["Pleroma", "Uploaders"]) and List.starts_with?(name_as_list, ["Pleroma", "Uploaders"]) and
List.last(name_as_list) in ["S3", "Local", "MDII"] List.last(name_as_list) != "Uploader"
end) end)
end end