We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d384790 commit ff3b9e9Copy full SHA for ff3b9e9
index.js
@@ -46,7 +46,8 @@ const searchFullyDownloadedFiles = torrents => Promise.resolve()
46
.then(stats => _.assign({ name: `${index}` }, stats))
47
.catch(() => null)
48
))
49
- .then(promises => Promise.all(promises).filter(result => !!result))
+ .then(runAll)
50
+ .filter(notNull)
51
.then(fileStats => _.assign({ fileStats }, torrent))
52
53
.then(runAll)
0 commit comments