logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 2a28377be06d286a13c69d6735734d5cfd503309
parent 3c65a2899dd6993e64221f8e48ec0c9431bd6a81
Author: Mark Felder <feld@feld.me>
Date:   Sat, 20 Jan 2024 15:55:33 -0500

Fix mix task pleroma.instance dialyzer error

lib/mix/tasks/pleroma/instance.ex:356:pattern_match_cov
The pattern
:variable_

can never match, because previous clauses completely cover the type
%{
  :anonymize => boolean(),
  :dedupe => boolean(),
  :read_description => boolean(),
  :strip_location => boolean()
}.

Diffstat:

Mlib/mix/tasks/pleroma/instance.ex2--
Alib/pleroma/web/twitter_api/controllers/.util_controller.ex.swp0
2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/lib/mix/tasks/pleroma/instance.ex b/lib/mix/tasks/pleroma/instance.ex @@ -352,6 +352,4 @@ defmodule Mix.Tasks.Pleroma.Instance do enabled_filters end - - defp upload_filters(_), do: [] end diff --git a/lib/pleroma/web/twitter_api/controllers/.util_controller.ex.swp b/lib/pleroma/web/twitter_api/controllers/.util_controller.ex.swp Binary files differ.