forcing CLI parameters to be parsed as strings closes #43

This commit is contained in:
Kononnable 2018-03-10 01:37:04 +01:00
parent e8def2aca8
commit 78c0b9cf14

View File

@ -114,12 +114,12 @@ switch (argv.e) {
let engine = new Engine(driver, {
host: argv.h,
port: parseInt(argv.p) || standardPort,
databaseName: argv.d,
user: argv.u,
password: argv.x,
databaseName: argv.d.toString(),
user: argv.u.toString(),
password: argv.x.toString(),
databaseType: argv.e,
resultsPath: argv.o,
schemaName: argv.s || standardSchema,
resultsPath: argv.o.toString(),
schemaName: argv.s.toString() || standardSchema,
ssl: argv.ssl,
noConfigs: argv.noConfig,
convertCaseFile: argv.cf,