mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
Added output for other use case.
This commit is contained in:
parent
9956f77f22
commit
6f263ab15d
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,7 @@ if (thirdOptPlug && thirdOptPlug.includes('path')) {
|
||||||
installFromPath = true
|
installFromPath = true
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins.indexOf('--path') !== -1 && plugins.splice(plugins.indexOf('--path'), 1);
|
plugins = plugins.splice(plugins.indexOf('--path'), 1);
|
||||||
|
|
||||||
const persistInstalledPlugins = async () => {
|
const persistInstalledPlugins = async () => {
|
||||||
const plugins:PackageData[] = []
|
const plugins:PackageData[] = []
|
||||||
|
@ -41,6 +41,7 @@ async function run() {
|
||||||
await linkInstaller.installFromPath(plugin);
|
await linkInstaller.installFromPath(plugin);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
console.log(`Installing plugin from registry: ${plugin}`)
|
||||||
await linkInstaller.installPlugin(plugin);
|
await linkInstaller.installPlugin(plugin);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue