From 0e68ba9931a4dcc5eebe03dacb4189339457c7b8 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 1 Mar 2026 15:04:57 +0000 Subject: [PATCH 1/2] style: remove trailing whitespace --- .github/workflows/ci.yml | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2577445..8a1f10d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ concurrency: permissions: contents: read - + jobs: dependency-review: name: Dependency Review diff --git a/README.md b/README.md index 68a1461..f6cb42e 100644 --- a/README.md +++ b/README.md @@ -119,8 +119,8 @@ connection when the Fastify server shuts down. To automatically close the client connection, set closeClient to true. ```js -fastify.register(fastifyValkey, { - client, +fastify.register(fastifyValkey, { + client, closeClient: true }) ``` From 09e641b5222b9f479be3a42d6b6c9cf592e1e086 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 1 Mar 2026 15:30:50 +0000 Subject: [PATCH 2/2] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Frazer Smith --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f6cb42e..ae345cf 100644 --- a/README.md +++ b/README.md @@ -120,8 +120,9 @@ To automatically close the client connection, set closeClient to true. ```js fastify.register(fastifyValkey, { - client, - closeClient: true }) + client, + closeClient: true +}) ``` ## Registering multiple Valkey client instances