From 37857c337cc3f51f4decbc2be1e4fe4e061be4fb Mon Sep 17 00:00:00 2001 From: Andrew Calcutt Date: Sun, 21 Apr 2024 00:38:07 -0400 Subject: [PATCH] fix: lint Signed-off-by: Andrew Calcutt --- src/serve_style.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/serve_style.js b/src/serve_style.js index cab21d0..09bfa2a 100644 --- a/src/serve_style.js +++ b/src/serve_style.js @@ -79,7 +79,7 @@ export const serve_style = { } let spriteScale; - const allowedScales = ['', '@2x', '@3x'] + const allowedScales = ['', '@2x', '@3x']; for (const as of allowedScales) { if (as === scale) { spriteScale = as; @@ -90,7 +90,7 @@ export const serve_style = { } let spriteFormat; - const allowedFormats = ['png', 'json'] + const allowedFormats = ['png', 'json']; for (const af of allowedFormats) { if (af === format) { spriteFormat = af;