commit: ccc2adee4111367d67646f6f2828e03b861dd393
parent da26964d2be8183d22596d64aa0db5e9b3b96888
Author: Lain Soykaf <lain@lain.com>
Date: Tue, 28 Nov 2023 13:13:43 +0400
Linting
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pleroma/upload/filter/analyze_metadata.ex b/lib/pleroma/upload/filter/analyze_metadata.ex
@@ -82,7 +82,7 @@ defmodule Pleroma.Upload.Filter.AnalyzeMetadata do
end
end
- defp vips_blurhash(image = %Vix.Vips.Image{}) do
+ defp vips_blurhash(%Vix.Vips.Image{} = image) do
with {:ok, resized_image} <- Operation.thumbnail_image(image, 100),
{height, width} <- {Image.height(resized_image), Image.width(resized_image)},
max <- max(height, width),