diff options
author | Lain Soykaf <lain@lain.com> | 2023-11-28 13:13:43 +0400 |
---|---|---|
committer | Lain Soykaf <lain@lain.com> | 2023-11-28 13:13:43 +0400 |
commit | ccc2adee4111367d67646f6f2828e03b861dd393 (patch) | |
tree | 638a38c6fec6cbb5a3b9f4abe49529c67fe295e1 | |
parent | da26964d2be8183d22596d64aa0db5e9b3b96888 (diff) | |
download | pleroma-ccc2adee4111367d67646f6f2828e03b861dd393.tar.gz pleroma-ccc2adee4111367d67646f6f2828e03b861dd393.zip |
Linting
-rw-r--r-- | lib/pleroma/upload/filter/analyze_metadata.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/upload/filter/analyze_metadata.ex b/lib/pleroma/upload/filter/analyze_metadata.ex index ef75d73d3..e510ae3e6 100644 --- 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), |