From faa9b0784ad0a7a34cf16a92c3bedc407b348b5e Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sun, 19 Dec 2021 12:28:44 -0500 Subject: [PATCH] format --- lib/philomena/images/image.ex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/philomena/images/image.ex b/lib/philomena/images/image.ex index 22c185eb..908301c4 100644 --- a/lib/philomena/images/image.ex +++ b/lib/philomena/images/image.ex @@ -182,7 +182,11 @@ defmodule Philomena.Images.Image do cond do width <= 0 or height <= 0 -> - add_error(changeset, :image, "contents corrupt, not recognized, or dimensions are too large to process") + add_error( + changeset, + :image, + "contents corrupt, not recognized, or dimensions are too large to process" + ) width > 32767 or height > 32767 -> add_error(changeset, :image, "side dimensions are larger than 32767 px")