Skip to content

Commit

Permalink
style: format:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antomor committed Aug 29, 2024
1 parent d4b9737 commit 7dc1125
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/RelayServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,10 @@ export class RelayServer extends EventEmitter {
);

// TODO: one of the 2 checks may be unnecessary
if (signature === SERVER_SIGNATURE_REQUIRED || [undefined, ''].includes(signature)) {
if (
signature === SERVER_SIGNATURE_REQUIRED ||
[undefined, ''].includes(signature)
) {
throw new Error(
'Unacceptable signature: it must be required and provided by the client'
);
Expand Down

0 comments on commit 7dc1125

Please sign in to comment.