aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/peertube-repl.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-06-13 11:09:38 +0200
committerChocobozzz <me@florianbigard.com>2019-06-13 11:09:38 +0200
commit1a12f66d631d28a5a58ebbcd274426f2e6e5d203 (patch)
treeedaf546dfc8bcdb55d271111618e65569aa68cc0 /server/tools/peertube-repl.ts
parent4913295f9db1a7b814129d90b159a418cb32bb75 (diff)
downloadPeerTube-1a12f66d631d28a5a58ebbcd274426f2e6e5d203.tar.gz
PeerTube-1a12f66d631d28a5a58ebbcd274426f2e6e5d203.tar.zst
PeerTube-1a12f66d631d28a5a58ebbcd274426f2e6e5d203.zip
Add more CLI tests
Diffstat (limited to 'server/tools/peertube-repl.ts')
-rw-r--r--server/tools/peertube-repl.ts11
1 files changed, 5 insertions, 6 deletions
diff --git a/server/tools/peertube-repl.ts b/server/tools/peertube-repl.ts
index 04d8b95a3..fbdec1613 100644
--- a/server/tools/peertube-repl.ts
+++ b/server/tools/peertube-repl.ts
@@ -43,7 +43,7 @@ const start = async () => {
43 Object.defineProperty(context, prop, { 43 Object.defineProperty(context, prop, {
44 configurable: false, 44 configurable: false,
45 enumerable: true, 45 enumerable: true,
46 value: properties[prop] 46 value: properties[ prop ]
47 }) 47 })
48 } 48 }
49 } 49 }
@@ -69,8 +69,7 @@ const start = async () => {
69 69
70} 70}
71 71
72start().then((data) => { 72start()
73 // do nothing 73 .catch((err) => {
74}).catch((err) => { 74 console.error(err)
75 console.error(err) 75 })
76})