From 11b0c06a3378a589b1f464d73cf7982b8f03a1de Mon Sep 17 00:00:00 2001 From: DidaS Date: Tue, 8 Feb 2022 17:36:02 +0000 Subject: [PATCH] Sligth change to docs (#1902) * Updated docs to avoid confusion * Update v3-to-v4.md --- docs/v3-to-v4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/v3-to-v4.md b/docs/v3-to-v4.md index 6f0acc54dc..0bf0d269b9 100644 --- a/docs/v3-to-v4.md +++ b/docs/v3-to-v4.md @@ -16,7 +16,7 @@ The configuration object passed to `createClient` has changed significantly with ### No Auto Connect -In V4, the client does not automatically connect to the server, you need to run `.connect()` before any command, or you will receive error `ClientClosedError: The client is closed`. +In V4, the client does not automatically connect to the server. Instead you need to run `.connect()` after creating the client or you will receive an error: `ClientClosedError: The client is closed`. ```typescript import { createClient } from 'redis';