Skip to content

Commit 93e659a

Browse files
authored
fix: lint
1 parent 163572e commit 93e659a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/pg-native/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ const CopyStream = require('./lib/copy-stream')
88
class ClientClass extends EventEmitter {
99
constructor(config) {
1010
super()
11-
if (!(this instanceof Client)) {
12-
return new Client(config)
13-
}
1411

1512
config = config || {}
1613

@@ -329,5 +326,5 @@ const throwIfError = function (pq) {
329326
module.exports.version = require('./package.json').version
330327

331328
module.exports = function Client(config) {
332-
return new ClientClass(config);
329+
return new ClientClass(config)
333330
}

0 commit comments

Comments
 (0)