Skip to content

Commit

Permalink
fix: Option assign.
Browse files Browse the repository at this point in the history
  • Loading branch information
tripodsgames committed Dec 23, 2022
1 parent 58e1b94 commit cb848a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/batch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ export class Batch {
options.batchInterval = void 0;
}

Object.assign(this.#options, options);
this.#options = Object.assign({}, this.#options, options);
}

}
Expand Down
2 changes: 1 addition & 1 deletion src/concurrency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ export class Concurrency {
options.concurrencyInterval = void 0;
}

Object.assign(this.#options, options);
this.#options = Object.assign({}, this.#options, options);
}

}
Expand Down

0 comments on commit cb848a1

Please sign in to comment.