mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 13:27:38 +00:00
chore(lint): add void for dangling promise
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user