mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
tell installer if old etherpad needs updating during plugin install
This commit is contained in:
parent
831151cfba
commit
aca745ddf6
2 changed files with 4 additions and 1 deletions
|
@ -83,7 +83,7 @@ exports.socketio = function (hook_name, args, cb) {
|
|||
socket.on("install", function (plugin_name) {
|
||||
installer.install(plugin_name, function (er) {
|
||||
if(er) console.warn(er)
|
||||
socket.emit("finished:install", {plugin: plugin_name, error: er? er.message : null});
|
||||
socket.emit("finished:install", {plugin: plugin_name, code: er? er.code : null, error: er? er.message : null});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue