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:
authorGilles De Mey <gilles.de.mey@gmail.com>2015-08-12 03:08:39 +0300
committerGilles De Mey <gilles.de.mey@gmail.com>2015-08-12 03:08:39 +0300
commit7ec8e2c04e18a63546ab52984202c6b093532d35 (patch)
treeb3b8d6617bc87bbb918d5a173ec9dfca6c316c61 /bin/cmd.js
parentd3cc78996528f848b6bac288414a6df7d8d76db9 (diff)
Use temp folder when streaming to stdout.
Diffstat (limited to 'bin/cmd.js')
-rwxr-xr-xbin/cmd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cmd.js b/bin/cmd.js
index 37ae394..0160b5c 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -255,7 +255,7 @@ var client, href, playerName, server, serving
function runDownload (torrentId) {
- if (!argv.out && !playerName) {
+ if (!argv.out && !argv.stdout && !playerName) {
argv.out = process.cwd()
}