Fix for: TypeError: The "config.options.port" property must be o… (#211)

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

View File

@ -293,7 +293,7 @@ async function GetUtilParametersByInquirer() {
}
])) as any).schema;
}
connectionOptions.port = answ.port;
connectionOptions.port = parseInt(answ.port, 10);
connectionOptions.host = answ.host;
connectionOptions.user = answ.login;
connectionOptions.password = answ.password;