Skip to content

Commit c16ce64

Browse files
authored
Fix initialization for plugins (#6421)
Co-authored-by: yacchin1205 <[email protected]>
1 parent 6c9730b commit c16ce64

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/plugins.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
import {linkInstaller} from "ep_etherpad-lite/static/js/pluginfw/installer";
3+
import {linkInstaller, checkForMigration} from "ep_etherpad-lite/static/js/pluginfw/installer";
44
import {persistInstalledPlugins} from "./commonPlugins";
55
import fs from "node:fs";
66
const settings = require('ep_etherpad-lite/node/utils/Settings');
@@ -56,6 +56,7 @@ const install = ()=> {
5656
}
5757

5858
(async () => {
59+
await checkForMigration();
5960
await run();
6061
await persistInstalledPlugins();
6162
})();
@@ -84,6 +85,7 @@ const remove = (plugins: string[])=>{
8485
}
8586

8687
(async () => {
88+
await checkForMigration();
8789
await walk();
8890
})();
8991
}

0 commit comments

Comments
 (0)