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() }