From 7a3df06eb573d36142bd1a8e03c5ce8752d300b3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 24 May 2017 15:10:37 +0200 Subject: fix build issues and add typedoc --- node_modules/tar-stream/extract.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node_modules/tar-stream/extract.js') diff --git a/node_modules/tar-stream/extract.js b/node_modules/tar-stream/extract.js index 6b3b9bf44..8be2a472c 100644 --- a/node_modules/tar-stream/extract.js +++ b/node_modules/tar-stream/extract.js @@ -166,7 +166,7 @@ var Extract = function (opts) { self._locked = true - if (!header.size) { + if (!header.size || header.type === 'directory') { self._parse(512, onheader) self.emit('entry', header, emptyStream(self, offset), onunlock) return -- cgit v1.2.3