From 3ff44b67eaf8e2cae2cee1880dab3217e339a8e1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 18 Aug 2023 10:19:43 +0200 Subject: Fix plugin global path error log --- server/server/lib/client-html.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server/lib/client-html.ts b/server/server/lib/client-html.ts index f00b05fab..fab698af3 100644 --- a/server/server/lib/client-html.ts +++ b/server/server/lib/client-html.ts @@ -406,7 +406,7 @@ class ClientHtml { } private static async addAsyncPluginCSS (htmlStringPage: string) { - if (!pathExists(PLUGIN_GLOBAL_CSS_PATH)) { + if (!await pathExists(PLUGIN_GLOBAL_CSS_PATH)) { logger.info('Plugin Global CSS file is not available (generation may still be in progress), ignoring it.') return htmlStringPage } -- cgit v1.2.3