mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-05 12:16:45 +02:00
This commit is contained in:
parent
0c7df88f8a
commit
d25010d5d7
@ -47,7 +47,7 @@ exports.install = async (pluginName, cb = null) => {
|
||||
cb = wrapTaskCb(cb);
|
||||
try {
|
||||
await loadNpm();
|
||||
await util.promisify(npm.commands.install)([pluginName]);
|
||||
await util.promisify(npm.commands.install)([`${pluginName}@latest`]);
|
||||
await hooks.aCallAll('pluginInstall', {pluginName});
|
||||
await plugins.update();
|
||||
} catch (err) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user