Linting
This commit is contained in:
parent
391df84ab7
commit
80c0a131af
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class Framer {
|
|||
static decode (client, buf) {
|
||||
// Read header
|
||||
if (client.batchHeader && buf[0] !== client.batchHeader) throw Error(`bad batch packet header, received: ${buf[0]}, expected: ${client.batchHeader}`)
|
||||
const buffer = buf.slice(client.batchHeader ? 1 : 0)
|
||||
const buffer = buf.slice(client.batchHeader ? 1 : 0)
|
||||
// Decompress
|
||||
let decompressed
|
||||
if (client.features.compressorInHeader && client.compressionReady) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue