diff --git a/lib/shared/supported-formats.js b/lib/shared/supported-formats.js index bc0a4a6e..3d26dfa8 100644 --- a/lib/shared/supported-formats.js +++ b/lib/shared/supported-formats.js @@ -40,7 +40,7 @@ exports.getCompressedExtensions = () => { for (const [ mimetype, cls ] of sdk.sourceDestination.SourceDestination.mimetypes.entries()) { if (cls.prototype instanceof sdk.sourceDestination.CompressedSource) { const extension = mime.extension(mimetype) - if (extension !== null) { + if (extension) { result.push(extension) } }