patch because I didn't see it earlier

This commit is contained in:
Jean Ouina 2020-07-05 14:55:12 +02:00
parent 8e4ff1156d
commit ed44543150
2 changed files with 3 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

@ -20,10 +20,7 @@ export default new class V2 {
let mod = !isDefault ? theModule.default : theModule
if(!mod)return theModule
if (mod.remove && mod.set && mod.clear && mod.get && !mod.sort) return null;
if (!mod.getToken && !mod.getEmail && !mod.showToken){
if(isDefault)return theModule.default
return theModule
}
if (!mod.getToken && !mod.getEmail && !mod.showToken)return theModule
const proxy = new Proxy(mod, {
getOwnPropertyDescriptor: function(obj, prop) {