Skip to content

Commit b760d4f

Browse files
chore: remove useless trailing comma
Update lib/tedious/connection-pool.js Co-authored-by: Daniel Hensby <[email protected]>
1 parent 67b6153 commit b760d4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/mssql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async function resolveConfig (opts, cfgFile) {
6363
...cfg,
6464
options: {
6565
...(config.options || {}),
66-
...cfg.options,
66+
...cfg.options
6767
}
6868
}
6969
}

lib/tedious/connection-pool.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class ConnectionPool extends BaseConnectionPool {
1313
server: this.config.server,
1414
options: Object.assign({
1515
encrypt: typeof this.config.encrypt === 'boolean' ? this.config.encrypt : true,
16-
trustServerCertificate: typeof this.config.trustServerCertificate === 'boolean' ? this.config.trustServerCertificate : false,
16+
trustServerCertificate: typeof this.config.trustServerCertificate === 'boolean' ? this.config.trustServerCertificate : false
1717
}, this.config.options),
1818
authentication: Object.assign({
1919
type: this.config.domain !== undefined ? 'ntlm' : this.config.authentication_type !== undefined ? this.config.authentication_type : 'default',

0 commit comments

Comments
 (0)