mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-04 22:27:10 -04:00
Fix migration scripts to skip checking for the system directory of live-plugin-manager
This commit is contained in:
parent
8b6f39ac4f
commit
d06513d39b
1 changed files with 4 additions and 0 deletions
|
@ -100,6 +100,10 @@ export const checkForMigration = async () => {
|
|||
|
||||
for (let file of files){
|
||||
const moduleName = path.basename(file);
|
||||
if (moduleName === '.versions') {
|
||||
// Skip the directory using live-plugin-manager
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
await fs.access(path.join(node_modules, moduleName), fs.constants.F_OK);
|
||||
logger.debug(`plugin ${moduleName} already exists in node_modules`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue