Pleroma.Emoji: dialyzer error
lib/pleroma/emoji.ex:54:unknown_type Unknown type: Emoji.t/0.
This commit is contained in:
parent
948d5a93a0
commit
9f357d88c2
|
@ -51,7 +51,7 @@ def reload do
|
||||||
end
|
end
|
||||||
|
|
||||||
@doc "Returns the path of the emoji `name`."
|
@doc "Returns the path of the emoji `name`."
|
||||||
@spec get(String.t()) :: Emoji.t() | nil
|
@spec get(String.t()) :: Pleroma.Emoji.t() | nil
|
||||||
def get(name) do
|
def get(name) do
|
||||||
name = maybe_strip_name(name)
|
name = maybe_strip_name(name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue