Skip to content

Commit 354163e

Browse files
author
Brian Carlson
committed
Fix lint
1 parent d4dd353 commit 354163e

1 file changed

Lines changed: 30 additions & 22 deletions

File tree

packages/pg/lib/connection.js

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -158,30 +158,38 @@ class Connection extends EventEmitter {
158158
const packets = []
159159

160160
if (!query.hasBeenParsed(this)) {
161-
packets.push(serialize.parse({
162-
text: query.text,
163-
name: query.name,
164-
types: query.types,
165-
}))
161+
packets.push(
162+
serialize.parse({
163+
text: query.text,
164+
name: query.name,
165+
types: query.types,
166+
})
167+
)
166168
}
167169

168-
packets.push(serialize.bind({
169-
portal: query.portal,
170-
statement: query.name,
171-
values: query.values,
172-
binary: query.binary,
173-
valueMapper: valueMapper,
174-
}))
175-
176-
packets.push(serialize.describe({
177-
type: 'P',
178-
name: query.portal || '',
179-
}))
180-
181-
packets.push(serialize.execute({
182-
portal: query.portal,
183-
rows: query.rows,
184-
}))
170+
packets.push(
171+
serialize.bind({
172+
portal: query.portal,
173+
statement: query.name,
174+
values: query.values,
175+
binary: query.binary,
176+
valueMapper: valueMapper,
177+
})
178+
)
179+
180+
packets.push(
181+
serialize.describe({
182+
type: 'P',
183+
name: query.portal || '',
184+
})
185+
)
186+
187+
packets.push(
188+
serialize.execute({
189+
portal: query.portal,
190+
rows: query.rows,
191+
})
192+
)
185193

186194
if (!query.rows) {
187195
packets.push(syncBuffer)

0 commit comments

Comments
 (0)