Skip to content

Commit 7261624

Browse files
authoredFeb 7, 2021
Merge pull request #211 from mrbabbs/fix-default-concurrency-extract
Fix default concurrency to 1
2 parents 29e9142 + 51d730b commit 7261624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/Open/directory.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ module.exports = function centralDirectory(source, options) {
173173
.on('close',resolve)
174174
.on('error',reject);
175175
});
176-
}, opts.concurrency > 1 ? {concurrency: opts.concurrency || undefined} : undefined);
176+
}, { concurrency: opts.concurrency > 1 ? opts.concurrency : 1 });
177177
});
178178
};
179179

0 commit comments

Comments
 (0)
Please sign in to comment.