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>2019-07-06 00:37:45 +0300
committerFeross Aboukhadijeh <feross@feross.org>2019-07-06 00:37:45 +0300
commit733e571a436951a8178d293cfa7315ad6bccf6b5 (patch)
tree67ab51ccacce61a69da4378a0063edd58535babe /index.js
parent7d747efeca17a20298c51e2f393e38622c4053cd (diff)
standard
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 3b5e6f7..37ea705 100644
--- a/index.js
+++ b/index.js
@@ -297,7 +297,7 @@ class WebTorrent extends EventEmitter {
let streams
if (isFileList(input)) input = Array.from(input)
- else if (!Array.isArray(input)) input = [ input ]
+ else if (!Array.isArray(input)) input = [input]
parallel(input.map(item => cb => {
if (isReadable(item)) concat(item, cb)