This commit is contained in:
Izuco 2021-11-20 15:28:44 +01:00
parent 72a38b975b
commit 9586b412a1
No known key found for this signature in database
GPG key ID: 318460063D70949F
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ import update from './modules/module.updater';
await update(argv.update);
if (argv.all && argv.but) {
console.log('[ERROR] --all and --but exclude each other!')
console.log('[ERROR] --all and --but exclude each other!');
return;
}

View file

@ -83,10 +83,10 @@ const parseSelect = (selectString: string, but = false) : {
return false;
}
const included = select.includes(`${letter}${number}`);
return but ? !included : included
return but ? !included : included;
} else {
const included = select.includes(`${parseInt(st)}`);
return but ? !included : included
return but ? !included : included;
}
}
};