Fix for TypeError: The "config.options.requestTimeout" property… (#213)

Fix for TypeError: The "config.options.requestTimeout" property must be of type number.
This commit is contained in:
Kononnable 2019-11-03 18:03:04 +01:00 committed by GitHub
commit 01ac9f28c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -340,7 +340,7 @@ async function GetUtilParametersByInquirer() {
return valid || "Please enter a valid number";
}
})) as any;
connectionOptions.timeout = timeout;
connectionOptions.timeout = parseInt(timeout, 10);
}
}
const { customizeGeneration } = (await inquirer.prompt([