mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-26 01:42:19 +00:00
fixed linting errors
This commit is contained in:
@@ -224,7 +224,7 @@ function checkQualityValue(argv: any): boolean {
|
||||
|
||||
|
||||
export function promptUser(choices: Array<string>): number {
|
||||
let index: number = readlineSync.keyInSelect(choices, 'Which resolution/format do you prefer?');
|
||||
const index: number = readlineSync.keyInSelect(choices, 'Which resolution/format do you prefer?');
|
||||
|
||||
if (index === -1) {
|
||||
process.exit(ERROR_CODE.CANCELLED_USER_INPUT);
|
||||
|
||||
Reference in New Issue
Block a user