Skip to content

Commit 51d730b

Browse files
author
Giovanni Esposito
committedJul 18, 2020
Fix default concurrency to 1
1 parent 37c83b7 commit 51d730b

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.