From 1a12f66d631d28a5a58ebbcd274426f2e6e5d203 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 13 Jun 2019 11:09:38 +0200 Subject: Add more CLI tests --- server/tools/peertube-repl.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'server/tools/peertube-repl.ts') 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 () => { Object.defineProperty(context, prop, { configurable: false, enumerable: true, - value: properties[prop] + value: properties[ prop ] }) } } @@ -69,8 +69,7 @@ const start = async () => { } -start().then((data) => { - // do nothing -}).catch((err) => { - console.error(err) -}) +start() + .catch((err) => { + console.error(err) + }) -- cgit v1.2.3