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>2015-01-29 00:41:37 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-01-29 00:41:37 +0300
commite33c3d8542fe509c91e64e79f2cd0084d08332b4 (patch)
treea0bdd290123a81aea255153fdc16a32ec5932b2d /lib/file-stream.js
parentf5302a98131ca1e56591a49ff6ece472917b3ed8 (diff)
style
Diffstat (limited to 'lib/file-stream.js')
-rw-r--r--lib/file-stream.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/file-stream.js b/lib/file-stream.js
index a2b80a0..231b614 100644
--- a/lib/file-stream.js
+++ b/lib/file-stream.js
@@ -107,8 +107,9 @@ FileStream.prototype.pipe = function (dst) {
'.mp3': 'audio/mpeg'
}[self._extname]
return pipe.call(self, new MediaStream(dst, { type: type }))
- } else
+ } else {
return pipe.call(self, dst)
+ }
}
FileStream.prototype.destroy = function () {