diff options
Diffstat (limited to 'server/tools/peertube-repl.ts')
-rw-r--r-- | server/tools/peertube-repl.ts | 11 |
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 | ||
72 | start().then((data) => { | 72 | start() |
73 | // do nothing | 73 | .catch((err) => { |
74 | }).catch((err) => { | 74 | console.error(err) |
75 | console.error(err) | 75 | }) |
76 | }) | ||