Fix lint warning.
This commit is contained in:
parent
d8a53227bc
commit
c1ac87ce9c
@ -60,7 +60,9 @@ const connection = new knx.Connection({
|
|||||||
console.log('Connected!');
|
console.log('Connected!');
|
||||||
},
|
},
|
||||||
event: function (evt: string, src: string, dest: string, value: Buffer) {
|
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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
Loading…
Reference in New Issue
Block a user