mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
Fixed folder not present.
This commit is contained in:
parent
d5920fa0ef
commit
3c9005d23f
1 changed files with 2 additions and 0 deletions
|
@ -116,6 +116,8 @@ export const checkForMigration = async () => {
|
||||||
await fs.symlink(path.join(pluginInstallPath,file), path.join(node_modules,moduleName), 'dir')
|
await fs.symlink(path.join(pluginInstallPath,file), path.join(node_modules,moduleName), 'dir')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}).catch(()=>{
|
||||||
|
logger.debug('plugin directory does not exist');
|
||||||
})
|
})
|
||||||
const fileContent = await fs.readFile(installedPluginsPath);
|
const fileContent = await fs.readFile(installedPluginsPath);
|
||||||
const installedPlugins = JSON.parse(fileContent.toString());
|
const installedPlugins = JSON.parse(fileContent.toString());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue