From c16ce64ea0b9cd509428159b7621dcc8c8283386 Mon Sep 17 00:00:00 2001 From: Satoshi Yazawa Date: Sun, 2 Jun 2024 19:58:18 +0900 Subject: [PATCH] Fix initialization for plugins (#6421) Co-authored-by: yacchin1205 <968739+yacchin1205@users.noreply.github.com> --- bin/plugins.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/plugins.ts b/bin/plugins.ts index 06723eb0a..856e59f39 100644 --- a/bin/plugins.ts +++ b/bin/plugins.ts @@ -1,6 +1,6 @@ 'use strict'; -import {linkInstaller} from "ep_etherpad-lite/static/js/pluginfw/installer"; +import {linkInstaller, checkForMigration} from "ep_etherpad-lite/static/js/pluginfw/installer"; import {persistInstalledPlugins} from "./commonPlugins"; import fs from "node:fs"; const settings = require('ep_etherpad-lite/node/utils/Settings'); @@ -56,6 +56,7 @@ const install = ()=> { } (async () => { + await checkForMigration(); await run(); await persistInstalledPlugins(); })(); @@ -84,6 +85,7 @@ const remove = (plugins: string[])=>{ } (async () => { + await checkForMigration(); await walk(); })(); }