diff options
-rw-r--r-- | lib/webtorrentProcess.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/webtorrentProcess.js b/lib/webtorrentProcess.js index 7ba2dd3d9..7da52523a 100644 --- a/lib/webtorrentProcess.js +++ b/lib/webtorrentProcess.js | |||
@@ -1,9 +1,9 @@ | |||
1 | 'use strict' | 1 | 'use strict' |
2 | 2 | ||
3 | function webtorrent (args) { | 3 | var WebTorrent = require('webtorrent') |
4 | var WebTorrent = require('webtorrent') | 4 | var ipc = require('node-ipc') |
5 | var ipc = require('node-ipc') | ||
6 | 5 | ||
6 | function webtorrent (args) { | ||
7 | if (args.length !== 3) { | 7 | if (args.length !== 3) { |
8 | throw new Error('Wrong arguments number: ' + args.length + '/3') | 8 | throw new Error('Wrong arguments number: ' + args.length + '/3') |
9 | } | 9 | } |