[Updater > Module] Minor source cleanup
This commit is contained in:
parent
e256e8fea1
commit
979044bb16
1 changed files with 1 additions and 5 deletions
|
@ -85,11 +85,7 @@ exports.init = (endpoint, { releaseChannel, version }) => {
|
|||
});
|
||||
});
|
||||
|
||||
hostUpdater.on('update-downloaded', () => {
|
||||
events.emit('downloaded-module', {
|
||||
name: 'host'
|
||||
});
|
||||
});
|
||||
hostUpdater.on('update-downloaded', () => events.emit('downloaded-module', { name: 'host' }));
|
||||
|
||||
hostUpdater.on('error', () => {
|
||||
log('Modules', 'Host error');
|
||||
|
|
Loading…
Reference in a new issue