From 5600b3fd61e1c23dd01e030f57539bb39660122b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Sat, 2 May 2020 09:12:36 +0200 Subject: [PATCH] fix: we are not ready for node 14 --- lib/server-impl.js | 4 +--- package.json | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/server-impl.js b/lib/server-impl.js index 2b4cf9bc95..b4505469cf 100644 --- a/lib/server-impl.js +++ b/lib/server-impl.js @@ -87,9 +87,7 @@ async function start(opts) { throw err; } - const instance = await createApp(options); - - return instance; + return createApp(options); } module.exports = { diff --git a/package.json b/package.json index 121bb61838..54d5b13671 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "url": "https://github.com/unleash/unleash/issues" }, "engines": { - "node": ">=12" + "node": ">=12 <14" }, "license": "Apache-2.0", "main": "./lib/server-impl.js",