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 +}