Fix for #212
This commit is contained in:
parent
ef10b8653a
commit
896698a9d1
@ -334,7 +334,7 @@ async function GetUtilParametersByInquirer() {
|
||||
const { timeout } = (await inquirer.prompt({
|
||||
message: "Query timeout(ms):",
|
||||
name: "timeout",
|
||||
type: "input",
|
||||
type: "number",
|
||||
validate(value) {
|
||||
const valid = !Number.isNaN(parseInt(value, 10));
|
||||
return valid || "Please enter a valid number";
|
||||
|
Loading…
Reference in New Issue
Block a user