diff --git a/lib/parse.js b/lib/parse.js index e9930c5f..0f364dc6 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -94,7 +94,7 @@ Parse.prototype._readFile = function () { var entry = new Entry(); entry.path = fileName; entry.props.path = fileName; - entry.type = (vars.compressedSize === 0 && /[\/\\]$/.test(fileName)) ? 'Directory' : 'File'; + entry.type = (/[\/\\]$/.test(fileName)) ? 'Directory' : 'File'; if (self._opts.verbose) { if (entry.type === 'Directory') {