mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 06:03:34 +01:00
Don't install all dependencies from node_modules (#6173)
This commit is contained in:
parent
157cad786c
commit
4f53142d7f
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ const migratePluginsFromNodeModules = async () => {
|
|||
await Promise.all(Object.entries(dependencies)
|
||||
.filter(([pkg, info]) => pkg.startsWith(plugins.prefix) && pkg !== 'ep_etherpad-lite')
|
||||
.map(async ([pkg, info]) => {
|
||||
if (!info._resolved) {
|
||||
if (!info.resolved) {
|
||||
// Install from node_modules directory
|
||||
await exports.manager.installFromPath(`${findEtherpadRoot()}/node_modules/${pkg}`);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue