Skip to content

Commit

Permalink
Add suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
myrotvorets-team authored Oct 6, 2023
1 parent 16752a8 commit 54f36c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/writablebufferstream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export class WritableBufferStream extends Writable {
if (Buffer.isBuffer(chunk)) {
buf = chunk;
} else if (chunk !== undefined && chunk !== null) {
// eslint-disable-next-line @typescript-eslint/no-base-to-string
buf = Buffer.from(`${chunk}`, encoding);
}

Expand Down

0 comments on commit 54f36c4

Please sign in to comment.