Linting
This commit is contained in:
parent
da26964d2b
commit
ccc2adee41
|
@ -82,7 +82,7 @@ defp media_dimensions(file) do
|
||||||
end
|
end
|
||||||
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),
|
with {:ok, resized_image} <- Operation.thumbnail_image(image, 100),
|
||||||
{height, width} <- {Image.height(resized_image), Image.width(resized_image)},
|
{height, width} <- {Image.height(resized_image), Image.width(resized_image)},
|
||||||
max <- max(height, width),
|
max <- max(height, width),
|
||||||
|
|
Loading…
Reference in New Issue