Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 26, 2024
1 parent 2c39404 commit 16eb373
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 16eb373

Please sign in to comment.