From 3f3fedc5f630e2f407a5186549073ebaf0aa4156 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 3 Nov 2024 10:58:12 +0000 Subject: [PATCH] style: remove trailing whitespace --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 96808ef..b4e7c01 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ async function createApp (fastify, opts) { await app.restart() return { status: 'ok' } }) - + app.addHook('onClose', async () => { if(!app.closingRestartable) { console.log('closing the app because of restart') @@ -37,7 +37,7 @@ async function createApp (fastify, opts) { console.log('closing the app because server is stopping') } }) - + return app } @@ -81,7 +81,7 @@ is closed. The hook is called with the new app instance as an argument. app.addPreRestartHook(async (app) => { console.log('preRestart hook called') }) - + app.addOnRestartHook(async (app) => { console.log('onRestart hook called') })