fix "contigious-file" => "contiguous-file" typo

This commit is contained in:
Thomas Heck 2016-03-25 09:05:07 +01:00
parent 2332d878a6
commit 2b8ca04d49
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

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