Skip to content

Commit

Permalink
remove variable
Browse files Browse the repository at this point in the history
  • Loading branch information
gildas-lormeau committed Jan 27, 2024
1 parent 4e7f73c commit 6e9e795
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/core/io.js
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,7 @@ function initWriter(writer) {
if (writable.size === UNDEFINED_VALUE) {
writable.size = 0;
}
const splitZipFile = writer instanceof SplitDataWriter;
if (!splitZipFile) {
if (!(writer instanceof SplitDataWriter)) {
Object.assign(writer, {
diskNumber: 0,
diskOffset: 0,
Expand Down

0 comments on commit 6e9e795

Please sign in to comment.