Skip to content

Commit

Permalink
Fix ESLint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
myrotvorets-team committed Aug 23, 2024
1 parent cde2981 commit 1669e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1669e78

Please sign in to comment.