From 2aa67fb04fe57dddb3734057d6a9a507d7665bcc Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Thu, 14 Mar 2024 18:53:05 +0100 Subject: [PATCH] Fixed installPlugins script. --- bin/installPlugins.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/installPlugins.ts b/bin/installPlugins.ts index 65a3b7392..bc7c3fdf8 100644 --- a/bin/installPlugins.ts +++ b/bin/installPlugins.ts @@ -1,7 +1,7 @@ 'use strict'; import {writeFileSync} from 'fs' -import {manager, installedPluginsPath} from "ep_etherpad-lite/static/js/pluginfw/installer"; +import {linkInstaller, installedPluginsPath} from "ep_etherpad-lite/static/js/pluginfw/installer"; import {PackageData} from "ep_etherpad-lite/node/types/PackageInfo"; const pluginsModule = require('ep_etherpad-lite/static/js/pluginfw/plugins'); @@ -27,7 +27,7 @@ const persistInstalledPlugins = async () => { async function run() { for (const plugin of plugins) { - await manager.install(plugin); + await linkInstaller.installPlugin(plugin); } }