diff --git a/index.js b/index.js index cecf8b6..18b227a 100644 --- a/index.js +++ b/index.js @@ -127,7 +127,7 @@ module.exports = (source, destination, { } }; - return pAll(sources.map(async source => { + return pAll(sources.map(source => async () => { const to = preprocessDestinationPath(source.relativePath, destination, options); try {