From 2b8ca04d490606782fd8f52bb148ca357a027d90 Mon Sep 17 00:00:00 2001 From: Thomas Heck Date: Fri, 25 Mar 2016 09:05:07 +0100 Subject: [PATCH] fix "contigious-file" => "contiguous-file" typo --- README.md | 2 +- pack.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0bfd67a..8d0a094 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ Most of these values can be found by stat'ing a file. mtime: new Date(), // last modified date for entry. defaults to now. type: 'file', // type of entry. defaults to file. can be: // file | link | symlink | directory | block-device - // character-device | fifo | contigious-file + // character-device | fifo | contiguous-file linkname: 'path', // linked file name uid: 0, // uid of entry owner. defaults to 0 gid: 0, // gid of entry owner. defaults to 0 diff --git a/pack.js b/pack.js index 45c9a27..060f98b 100644 --- a/pack.js +++ b/pack.js @@ -152,7 +152,7 @@ Pack.prototype.entry = function (header, buffer, callback) { this._encode(header) - if (header.type !== 'file' && header.type !== 'contigious-file') { + if (header.type !== 'file' && header.type !== 'contiguous-file') { process.nextTick(callback) return new Void() }