Fix plugin global path error log

This commit is contained in:
Chocobozzz 2023-08-18 10:19:43 +02:00
parent 9c63644b2d
commit 3ff44b67ea
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -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
}