diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-03-20 05:44:54 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-03-20 05:44:54 +0300 |
commit | c254fda44c7d498f08b73e134b7994f0394a9e29 (patch) | |
tree | 0abe5dde7381490558a3e5bfe5236d277152bcd0 /bin | |
parent | 822b8df7fce555807a298571643694c43bf3ef2e (diff) |
cli: `out` option won't create extra "webtorrent/<infohash>" folder
Fixes https://github.com/feross/webtorrent/issues/156
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cmd.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -213,7 +213,7 @@ function runDownload (torrentId) { }) } - var torrent = client.add(torrentId, (argv.out ? { tmp: argv.out } : {})) + var torrent = client.add(torrentId, { path: argv.out }) torrent.on('infoHash', function () { function updateMetadata () { |