From f7c3c26304b5d6cc4a450d233ff917d31bdb2ade Mon Sep 17 00:00:00 2001 From: 3y3 <3y3@ya.ru> Date: Tue, 3 Sep 2024 02:36:34 +0300 Subject: [PATCH] chore: Remove useless error --- src/consumer/utils.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/consumer/utils.ts b/src/consumer/utils.ts index 032d0bb..d11069e 100644 --- a/src/consumer/utils.ts +++ b/src/consumer/utils.ts @@ -1,7 +1,5 @@ import type {Gobbler, NonEmptyString} from 'src/skeleton/types'; -import {ok} from 'node:assert'; - import {search} from 'src/consumer/search'; import {mtre} from 'src/symbols'; @@ -47,8 +45,6 @@ export const skip: Gobbler = (content, [start, end], token, i) => { : [from, from]; } - ok(to <= end, `skip aaaaaaaa end: ${to} <= ${end}`); - return [from, to]; };