Update index.ts

This commit is contained in:
Killer Boss Original 2023-06-08 18:07:49 +02:00 committed by GitHub
parent e31ec85442
commit ca48244efe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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