From c1ac87ce9ca11537a36e4391b9908593471e3ba3 Mon Sep 17 00:00:00 2001 From: Laur Ivan Date: Thu, 31 Mar 2022 20:27:59 +0200 Subject: [PATCH] Fix lint warning. --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index e60f08a..01a65e9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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)) } } }); \ No newline at end of file