From 51f0cb7c1b512aca198b479abadaa56e9b2537a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marin=20Petruni=C4=87?= Date: Tue, 24 Nov 2020 20:59:33 +0100 Subject: [PATCH] fix lint --- src/helpers/index.ts | 2 +- src/helpers/utils.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/helpers/index.ts b/src/helpers/index.ts index 037b90c..178cd64 100644 --- a/src/helpers/index.ts +++ b/src/helpers/index.ts @@ -1 +1 @@ -export * from "./utils"; \ No newline at end of file +export * from "./utils"; diff --git a/src/helpers/utils.ts b/src/helpers/utils.ts index 1f768bc..b81b6ae 100644 --- a/src/helpers/utils.ts +++ b/src/helpers/utils.ts @@ -1,8 +1,8 @@ import {PUBLIC_KEY_LENGTH, SIGNATURE_LENGTH} from "../constants"; export function assert(condition: unknown, message = "Assertion failed"): asserts condition { - if(!condition) { - throw new Error(message) + if (!condition) { + throw new Error(message); } }