File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ ZipArchiveOutputStream.prototype._afterAppend = function(ae) {
4848 this . _writeDataDescriptor ( ae ) ;
4949 }
5050
51-
5251 this . _archive . processing = false ;
5352 this . _entry = null ;
5453
@@ -252,7 +251,6 @@ ZipArchiveOutputStream.prototype._writeCentralFileHeader = function(ae) {
252251 var method = ae . getMethod ( ) ;
253252 var offsets = ae . _offsets ;
254253
255- var extraBuf ;
256254 var size = ae . getSize ( ) ;
257255 var compressedSize = ae . getCompressedSize ( ) ;
258256
@@ -262,7 +260,7 @@ ZipArchiveOutputStream.prototype._writeCentralFileHeader = function(ae) {
262260
263261 ae . setVersionNeededToExtract ( constants . MIN_VERSION_ZIP64 ) ;
264262
265- extraBuf = new Buffer ( 28 ) ;
263+ var extraBuf = new Buffer ( 28 ) ;
266264 extraBuf . write ( zipUtil . getShortBytes ( constants . ZIP64_EXTRA_ID ) ) ;
267265 extraBuf . write ( zipUtil . getShortBytes ( 24 ) ) ;
268266 extraBuf . write ( zipUtil . getEightBytes ( ae . getSize ( ) ) ) ;
You can’t perform that action at this time.
0 commit comments