Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2020-05-15 20:20:48 +0300
committerGitHub <noreply@github.com>2020-05-15 20:20:48 +0300
commit7ff77c3e95b2dddfa70dd49cf924073383dd565a (patch)
tree199a3e35284d462590cfcbdfa7e318d19161f606
parent90148ffa243317776f3d1a1175f3579b5e07eabb (diff)
parent5bc172aa2e462b3dce8c1801f68493fe896b9cc2 (diff)
Merge pull request #1861 from x1alien/patch-1
-rw-r--r--lib/torrent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/torrent.js b/lib/torrent.js
index 4ee7a80..1a765a1 100644
--- a/lib/torrent.js
+++ b/lib/torrent.js
@@ -480,7 +480,7 @@ class Torrent extends EventEmitter {
// Select only specified files (BEP53) http://www.bittorrent.org/beps/bep_0053.html
if (this.so) {
- const selectOnlyFiles = parseRange.parse(this.so)
+ const selectOnlyFiles = parseRange(this.so)
this.files.forEach((v, i) => {
if (selectOnlyFiles.includes(i)) this.files[i].select(true)