From ca48244efe68a9894913e06ed4d7bd2064b6420f Mon Sep 17 00:00:00 2001 From: Killer Boss Original <73131550+killerbossoriginal@users.noreply.github.com> Date: Thu, 8 Jun 2023 18:07:49 +0200 Subject: [PATCH] Update index.ts --- src/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 01fecf0..1c0bbef 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,7 +17,6 @@ function checkSingle(perm: string, reqPerm: string) { let i = 0; for (const rp of subRP) { i = subRP.findIndex((e) => e === rp) - console.log(i, rp, sub[i], subRP.length) if (rp != sub[i]) break; else i++; } @@ -54,4 +53,4 @@ function checkList(perm: string[], reqPerm: string[]) { export default { checkList, checkSingle -} \ No newline at end of file +}