Fix the single-violation style findings. [skip build]
This commit is contained in:
@@ -215,10 +215,11 @@ export function extractMetadataFromImage(imageData: ArrayBuffer | Uint8Array): I
|
||||
console.log('[extractMetadataFromImage] Detected format:', format);
|
||||
|
||||
switch (format) {
|
||||
case 'png':
|
||||
case 'png': {
|
||||
const pngMetadata = extractMetadataFromPNG(imageData);
|
||||
console.log('[extractMetadataFromImage] PNG metadata:', pngMetadata);
|
||||
return pngMetadata;
|
||||
}
|
||||
// For other formats, extract color only for now
|
||||
case 'webp':
|
||||
case 'jpeg':
|
||||
|
||||
Reference in New Issue
Block a user