Skip to content

Commit a4cf5f6

Browse files
committed
perf: remove redundant object
1 parent 969510e commit a4cf5f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ class RPCClient extends EventEmitter {
406406
this._connectPromise = (async () => {
407407
this._wsAbortController = new AbortController();
408408

409-
const wsOpts = Object.assign({}, {
409+
const wsOpts = Object.assign({
410410
// defaults
411411
noDelay: true,
412412
signal: this._wsAbortController.signal,

0 commit comments

Comments
 (0)