From 16eb3731cff12a23844ba56d6b1a1aab8f397658 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 23:48:08 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/lib/errors.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/errors.ts b/src/lib/errors.ts index 6db7bb0..46aee39 100644 --- a/src/lib/errors.ts +++ b/src/lib/errors.ts @@ -61,14 +61,14 @@ export class NotFoundError extends RemoteError { typeof key === 'string' ? `NotFoundError(${key})` : typeof key === 'undefined' - ? 'NotFoundError' - : `NotFoundError${key.join(',')}`; + ? 'NotFoundError' + : `NotFoundError${key.join(',')}`; const keys = typeof key === 'string' ? [key] : typeof key === 'undefined' - ? undefined - : key; + ? undefined + : key; super(name, message, keys); } }