From 5da104368067430efef07d84ef417d0103746c30 Mon Sep 17 00:00:00 2001 From: Patrick Devine Date: Wed, 25 Sep 2024 13:08:08 -0700 Subject: [PATCH] feed the linter --- server/imageproc/images.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/imageproc/images.go b/server/imageproc/images.go index 652aab75..d21709bb 100644 --- a/server/imageproc/images.go +++ b/server/imageproc/images.go @@ -229,7 +229,7 @@ func Preprocess(imageData []byte) ([]float32, int, error) { var aspectRatioIndex int for n, r := range supportedRatios { if r == aspectRatio { - aspectRatioIndex = n+1 + aspectRatioIndex = n + 1 break } }