From 52c7e743724883edf2e49fea7984d185c23ec3ac Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Tue, 12 Jan 2021 12:18:50 -0500 Subject: [PATCH] chore(lint): add void for dangling promise --- src/notification/twitch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notification/twitch.ts b/src/notification/twitch.ts index 4160c8b..fd03cfc 100644 --- a/src/notification/twitch.ts +++ b/src/notification/twitch.ts @@ -65,7 +65,7 @@ chatClient.onJoin((channel: string, user: string) => { if (message !== undefined) { try { - chatClient.say(channel, message); + void chatClient.say(channel, message); logger.info('✔ twitch message sent'); } catch (error: unknown) { logger.error("✖ couldn't send twitch message", error);