From 0e8a24bdbe6ebb423aedd0ddd3d886ce9fe45ae4 Mon Sep 17 00:00:00 2001 From: linguist <22963968+lowlighter@users.noreply.github.com> Date: Sun, 3 Jan 2021 00:26:50 +0100 Subject: [PATCH] Add missing check in web instance --- source/templates/common.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/templates/common.mjs b/source/templates/common.mjs index af793545..10fe0e46 100644 --- a/source/templates/common.mjs +++ b/source/templates/common.mjs @@ -26,7 +26,7 @@ //Plugins for (const name of Object.keys(imports.plugins)) { - if (!plugins[name].enabled) + if (!plugins[name]?.enabled) continue pending.push((async () => {