diff --git a/src/streams/optimize.js b/src/streams/optimize.js index cd5cacf..4d8f7c3 100644 --- a/src/streams/optimize.js +++ b/src/streams/optimize.js @@ -20,7 +20,7 @@ module.exports = function () { return callback(null, image); } - image.log.time('optimize-sharp:' + image.format); + image.log.time('optimize-sharp:' + (image.outputFormat || image.format)); var r = sharp(image.contents);