Skip to content

Commit 3c41cef

Browse files
committed
Use default parameters
1 parent 58e3d96 commit 3c41cef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/deparser.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ const BufferPut = require('bufferput')
1414
const deparse = require('./pg_types').deparse
1515

1616
class CopyStream extends Transform {
17-
constructor(options) {
18-
options = options || {}
17+
constructor(options = {}) {
1918
options.objectMode = true
2019
super(options)
2120

0 commit comments

Comments
 (0)