From 523ac17e92c7abeafae8d6e09ae96aeb1cac18f2 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Tue, 28 Jul 2020 16:02:53 +0200 Subject: [PATCH] Fix bug with no user --- registry/src/config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/registry/src/config.ts b/registry/src/config.ts index ae21231..dc6255c 100644 --- a/registry/src/config.ts +++ b/registry/src/config.ts @@ -15,6 +15,8 @@ const config = }) ) || {}; +if (!config.user) config.user = {}; + const env = Deno.env.toObject(); for (const key in env) {