forcing CLI parameters to be parsed as strings closes #43
This commit is contained in:
parent
e8def2aca8
commit
78c0b9cf14
10
src/index.ts
10
src/index.ts
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user