mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
fix lint
This commit is contained in:
parent
143ed2901d
commit
bf7e6c75e6
@ -381,8 +381,8 @@ var Message = function (name, length) {
|
||||
|
||||
Connection.prototype.parseMessage = function (buffer) {
|
||||
this.offset = 0
|
||||
const length = buffer.length + 4;
|
||||
const code = this._reader.header;
|
||||
const length = buffer.length + 4
|
||||
const code = this._reader.header
|
||||
switch (code) {
|
||||
case 0x52: // R
|
||||
return this.parseR(buffer, length)
|
||||
@ -447,7 +447,6 @@ Connection.prototype.parseMessage = function (buffer) {
|
||||
case 0x64: // d
|
||||
return this.parsed(buffer, length)
|
||||
}
|
||||
console.log('could not parse', packet)
|
||||
}
|
||||
|
||||
Connection.prototype.parseR = function (buffer, length) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user