From 1669e784dbc9938f8c713cb04f32e2edee257041 Mon Sep 17 00:00:00 2001 From: Myrotvorets Date: Fri, 23 Aug 2024 20:39:14 +0300 Subject: [PATCH] Fix ESLint issues --- lib/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.ts b/lib/index.ts index 06a2ebaa..f4253695 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -34,7 +34,7 @@ export class ImageProcessorSharp implements IImageProcessor { const meta = await img.metadata(); return { isJPEG: meta.format === 'jpeg', - chromaSubsampling: meta.chromaSubsampling || '', + chromaSubsampling: meta.chromaSubsampling ?? '', isProgressive: !!meta.isProgressive, }; } catch (e) {