Skip to content

Commit

Permalink
docs: fix snappy ver number in callout comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Aug 19, 2021
1 parent 2933494 commit a753b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmap/wire_protocol/compression.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export function decompress(
const snappyResult = Snappy.uncompress(compressedData, { asBuffer: true }, callback);

if (isPromiseLike(snappyResult)) {
// Using snappy 6.x
// Using snappy 7.x
snappyResult.then(buffer => callback(undefined, buffer)).catch(error => callback(error));
}
break;
Expand Down

0 comments on commit a753b25

Please sign in to comment.