Skip to content

Commit

Permalink
use this.options instead of options
Browse files Browse the repository at this point in the history
  • Loading branch information
EslamHiko committed May 13, 2019
1 parent 7d4614a commit 47e592b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ class Server {
this.contentBaseWatchers = [];

// TODO this.<property> is deprecated (remove them in next major release.) in favor this.options.<property>
this.hot = options.hot || options.hotOnly;
this.headers = options.headers;
this.progress = options.progress;
this.hot = this.options.hot || this.options.hotOnly;
this.headers = this.options.headers;
this.progress = this.options.progress;

this.serveIndex = this.options.serveIndex;

Expand Down

0 comments on commit 47e592b

Please sign in to comment.