diff --git a/index.js b/index.js index 638bc51..efb1273 100644 --- a/index.js +++ b/index.js @@ -37,7 +37,7 @@ const preprocessDestinationPath = (source, destination, options) => { }; module.exports = (source, destination, { - concurrency = (os.cpus().lengh || 1) * 2, + concurrency = (os.cpus().length || 1) * 2, ...options } = {}) => { const progressEmitter = new EventEmitter();