Style
This commit is contained in:
parent
72a38b975b
commit
9586b412a1
2 changed files with 3 additions and 3 deletions
2
index.ts
2
index.ts
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue