Skip to content

Commit 70d91ce

Browse files
committed
zip: few CS touch ups.
1 parent 5744f5b commit 70d91ce

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/archivers/zip/zip-archive-output-stream.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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()));

0 commit comments

Comments
 (0)