Update index.ts
This commit is contained in:
parent
e31ec85442
commit
ca48244efe
1 changed files with 1 additions and 2 deletions
|
@ -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++;
|
||||
}
|
||||
|
|
Reference in a new issue