Skip to content

Commit 44530b6

Browse files
author
Max Gruenfelder
committed
shallow copy of this.#options.defaults.socket
1 parent fde8fb1 commit 44530b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client/lib/cluster/cluster-slots.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ export default class RedisClusterSlots<
272272
socket = options?.socket ? {
273273
...this.#options.defaults.socket,
274274
...options.socket
275-
} : { ...this.#options.defaults.socket};
275+
} : { ...this.#options.defaults.socket };
276276
} else {
277277
socket = options?.socket;
278278
}

0 commit comments

Comments
 (0)