aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-08-18 10:19:43 +0200
committerChocobozzz <me@florianbigard.com>2023-08-18 10:19:43 +0200
commit3ff44b67eaf8e2cae2cee1880dab3217e339a8e1 (patch)
treebc94cdcf106106786b6b469e1c0a40b38cfe92b7
parent9c63644b2de3441adffbd2ee20b5957bf45dfbfc (diff)
downloadPeerTube-3ff44b67eaf8e2cae2cee1880dab3217e339a8e1.tar.gz
PeerTube-3ff44b67eaf8e2cae2cee1880dab3217e339a8e1.tar.zst
PeerTube-3ff44b67eaf8e2cae2cee1880dab3217e339a8e1.zip
Fix plugin global path error log
-rw-r--r--server/server/lib/client-html.ts2
1 files changed, 1 insertions, 1 deletions
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 {
406 } 406 }
407 407
408 private static async addAsyncPluginCSS (htmlStringPage: string) { 408 private static async addAsyncPluginCSS (htmlStringPage: string) {
409 if (!pathExists(PLUGIN_GLOBAL_CSS_PATH)) { 409 if (!await pathExists(PLUGIN_GLOBAL_CSS_PATH)) {
410 logger.info('Plugin Global CSS file is not available (generation may still be in progress), ignoring it.') 410 logger.info('Plugin Global CSS file is not available (generation may still be in progress), ignoring it.')
411 return htmlStringPage 411 return htmlStringPage
412 } 412 }