Implemented changes suggested by linter

This commit is contained in:
Daniel committed 2021-07-12 22:05:54 +02:00
1 parent 8a85cfc8da
commit 6bb2c50e5c
4 files changed
+62 -53

No files matched your search

+6
View File
@@ -273,6 +273,12 @@ export class Control extends libLink.Link {
handler(info);
}
}
if (info.slave_id !== undefined) {
let slaveHandlers = this.slaveLogHandlers.get(info.slave_id);
for (let handler of slaveHandlers || []) {
handler(info);
}
}
}
async onInstanceLog(id, handler) {