Skip to content

Commit 11b0c06

Browse files
authoredFeb 8, 2022
Sligth change to docs (#1902)
* Updated docs to avoid confusion * Update v3-to-v4.md
1 parent e265c52 commit 11b0c06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/v3-to-v4.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The configuration object passed to `createClient` has changed significantly with
1616

1717
### No Auto Connect
1818

19-
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`.
19+
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`.
2020

2121
```typescript
2222
import { createClient } from 'redis';

0 commit comments

Comments
 (0)
Please sign in to comment.