Update this._opt to reflect how it should behave

This commit is contained in:
wearrrrr 2024-06-23 23:20:09 -05:00
parent eee76b356c
commit b6b86e4f2f

View file

@ -41,7 +41,7 @@ const validEvents = [
class WorkerWare {
constructor(opt) {
this._opt = opt;
this._opt = Object.assign({}, defaultOpt, opt);
this._middlewares = [];
}
info() {
@ -144,4 +144,4 @@ class WorkerWare {
error: undefined,
};
}
}
}