Fix yargs issue
This commit is contained in:
parent
6e9927fbf7
commit
5f7bc2de7a
@ -475,6 +475,8 @@ WHERE TABLE_TYPE='BASE TABLE' and TABLE_SCHEMA in (${schema}) AND TABLE_CATALOG
|
||||
user: connectionOptons.user,
|
||||
};
|
||||
|
||||
console.log(config);
|
||||
|
||||
const promise = new Promise<boolean>((resolve, reject) => {
|
||||
this.Connection = new this.MSSQL.ConnectionPool(config, (err) => {
|
||||
if (!err) {
|
||||
|
@ -311,6 +311,7 @@ function checkYargsParameters(options: options): options {
|
||||
options.connectionOptions.schemaName = argv.s
|
||||
? argv.s.toString()
|
||||
: standardSchema;
|
||||
options.connectionOptions.instanceName = argv.i || undefined;
|
||||
options.connectionOptions.ssl = argv.ssl;
|
||||
options.connectionOptions.user = argv.u || standardUser;
|
||||
let skipTables = argv.skipTables.split(",");
|
||||
|
Loading…
Reference in New Issue
Block a user