[Updater > Module] Minor source cleanup

This commit is contained in:
Ducko 2022-04-24 14:17:37 +01:00
parent e256e8fea1
commit 979044bb16

View file

@ -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');