Fix lint warning.

This commit is contained in:
Laur Ivan 2022-03-31 20:27:59 +02:00
parent d8a53227bc
commit c1ac87ce9c

View File

@ -60,7 +60,9 @@ const connection = new knx.Connection({
console.log('Connected!');
},
event: function (evt: string, src: string, dest: string, value: Buffer) {
main(evt, src, dest, value).then(() => { }).catch(e => console.log('Error: ', e))
main(evt, src, dest, value)
.then(() => { /* This is intentional */ })
.catch(e => console.log('Error: ', e))
}
}
});