From 770336e181c3734ae2de889cf3b2ac685884e2c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Sat, 2 May 2020 09:00:08 +0200 Subject: [PATCH] fix: add missing await for node 14 --- lib/server-impl.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/server-impl.js b/lib/server-impl.js index b4505469cf..2b4cf9bc95 100644 --- a/lib/server-impl.js +++ b/lib/server-impl.js @@ -87,7 +87,9 @@ async function start(opts) { throw err; } - return createApp(options); + const instance = await createApp(options); + + return instance; } module.exports = {