Skip to content

Commit

Permalink
fix: deprecation message about setup now warning about v4 (#1684)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Feb 25, 2019
1 parent 884fac0 commit 523a6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ class Server {
setup: () => {
if (typeof options.setup === 'function') {
this.log.warn(
'The `setup` option is deprecated and will be removed in v3. Please update your config to use `before`'
'The `setup` option is deprecated and will be removed in v4. Please update your config to use `before`'
);

options.setup(app, this);
Expand Down

0 comments on commit 523a6ec

Please sign in to comment.