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.
This commit is contained in:
Alexander Lichter 2018-09-13 16:07:34 +01:00 committed by Clark Du
parent 2ee5a2982a
commit 6fc78ea024

View File

@ -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
}