We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3589f9 commit ca82df9Copy full SHA for ca82df9
lib/connection.js
@@ -161,7 +161,7 @@ function Connection(options = {}) {
161
if (length >= buffer.length)
162
break
163
164
- (backend[buffer[0]] || unknown)(buffer.slice(0, length + 1))
+ backend[buffer[0]](buffer.slice(0, length + 1))
165
buffer = buffer.slice(length + 1)
166
}
167
@@ -172,9 +172,8 @@ function Connection(options = {}) {
172
ready = false
173
174
175
- function unknown() {
176
- // console.log('Unknown Message', x[0])
177
- }
+ /* c8 ignore next */
+ return connection
178
179
180
function postgresSocket(options, {
0 commit comments