Update this._opt to reflect how it should behave
This commit is contained in:
parent
eee76b356c
commit
b6b86e4f2f
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ const validEvents = [
|
|||
|
||||
class WorkerWare {
|
||||
constructor(opt) {
|
||||
this._opt = opt;
|
||||
this._opt = Object.assign({}, defaultOpt, opt);
|
||||
this._middlewares = [];
|
||||
}
|
||||
info() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue