From 6fc78ea024cd075de1d3353b1f9214e7bd875bf7 Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Thu, 13 Sep 2018 16:07:34 +0100 Subject: [PATCH] Fix legacy gzip warning (#3884) Fix legacy gzip warning. Thanks to @liam-potter for pointing that out! Related PR: #3863 ## Types of changes - [x] Bug fix (non-breaking change which fixes an issue) ## Checklist: - [x] All new and existing tests passed. --- lib/common/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/options.js b/lib/common/options.js index fefb78518d..a7c5a039b1 100644 --- a/lib/common/options.js +++ b/lib/common/options.js @@ -174,7 +174,7 @@ Options.from = function (_options) { // Compression middleware legacy if (options.render.gzip) { - consola.warn('render.gzip is deprecated and will be removed in a future version! Please switch to build.render.compressor') + consola.warn('render.gzip is deprecated and will be removed in a future version! Please switch to render.compressor') options.render.compressor = options.render.gzip delete options.render.gzip }