pleroma/lib
Phantasm 25e7b12a6b
Elixir 1.18 Remove seemingly unneeded cond
warning: this clause in cond will always match:

<<"#", name::binary>>

since it has type:

binary()

where "name" was given the type:

%{"type" => "Hashtag", "name" => name} = data

   typing violation found at:
   │
55 │         "#" <> name -> name
   │                     ~
   │
   └─ lib/pleroma/web/activity_pub/object_validators/tag_validator.ex:55:21: Pleroma.Web.ActivityPub.ObjectValidators.TagValidator.changeset/2
2025-05-13 10:21:44 +02:00
..
mix Emoji, Pack, Backup, Frontend: Use SafeZip 2025-02-27 17:06:15 +04:00
pleroma Elixir 1.18 Remove seemingly unneeded cond 2025-05-13 10:21:44 +02:00