From 02f0033a13533b64a2a01fb3111f214ef4d9e700 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 3 Nov 2024 10:56:44 +0000 Subject: [PATCH] style: remove trailing whitespace --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ee705d0..6617cf8 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ How to add cause: ```js const createError = require('@fastify/error') const CustomError = createError('ERROR_CODE', 'Hello %s') -console.log(new CustomError('world', {cause: new Error('cause')})) +console.log(new CustomError('world', {cause: new Error('cause')})) // error.message => 'Hello world' // error.cause => Error('cause') ```