Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
oops, missed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kesla committed Mar 11, 2020
1 parent 1cb244a commit a409c04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snappy.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ exports.compressSync = function (input) {

/**
* Asyncronous decide if a buffer is compressed in a correct way.
*
*
* @type {(buffer: Buffer, callback: (err: Error|null, isValid?: boolean) => void) => void}
*/
exports.isValidCompressed = binding.isValidCompressed;
Expand All @@ -41,7 +41,7 @@ exports.isValidCompressedSync = binding.isValidCompressedSync;

/**
* Asyncronous uncompress previously compressed data.
*
*
* @param {Buffer} compressed
* @param {any} opts
* @param {(err: Error, uncompressed?:(string|Buffer)) => void} callback
Expand All @@ -62,7 +62,7 @@ exports.uncompress = function (compressed, opts, callback) {
* @param {Buffer} compressed
* @param {any} opts
* @return {string|Buffer}
*/exports.uncompressSync = function (compressed, opts) {
*/exports.uncompressSync = function (compressed, opts) {
assert(Buffer.isBuffer(compressed), 'input must be a Buffer');

return binding.uncompressSync(compressed, uncompressOpts(opts));
Expand Down

0 comments on commit a409c04

Please sign in to comment.