mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-26 10:40:28 -06:00
Fix plugin global path error log
This commit is contained in:
parent
9c63644b2d
commit
3ff44b67ea
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user