Skip to content

Commit bf7e6c7

Browse files
committed
fix lint
1 parent 143ed29 commit bf7e6c7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/pg/lib/connection.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ var Message = function (name, length) {
381381

382382
Connection.prototype.parseMessage = function (buffer) {
383383
this.offset = 0
384-
const length = buffer.length + 4;
385-
const code = this._reader.header;
384+
const length = buffer.length + 4
385+
const code = this._reader.header
386386
switch (code) {
387387
case 0x52: // R
388388
return this.parseR(buffer, length)
@@ -447,7 +447,6 @@ Connection.prototype.parseMessage = function (buffer) {
447447
case 0x64: // d
448448
return this.parsed(buffer, length)
449449
}
450-
console.log('could not parse', packet)
451450
}
452451

453452
Connection.prototype.parseR = function (buffer, length) {

0 commit comments

Comments
 (0)