don't add behaviour to suggestions
authorAlex S <alex.strizhakov@gmail.com>
Tue, 3 Sep 2019 06:45:54 +0000 (09:45 +0300)
committerAlex S <alex.strizhakov@gmail.com>
Wed, 11 Sep 2019 06:25:33 +0000 (09:25 +0300)
lib/pleroma/docs/generator.ex

index e788712ccbccdc067af5fa404f42f32b94edce2b..aa578eee280657f4a7bf9eb35016f58bfbc795e9 100644 (file)
@@ -14,7 +14,7 @@ defmodule Pleroma.Docs.Generator do
       name_as_list = Module.split(module)
 
       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