Add no-misused/floating-promises lint rule
This commit is contained in:
parent
1a68c3db62
commit
ed271d92ea
150 changed files with 1296 additions and 991 deletions
|
@ -89,7 +89,7 @@ export async function maybeForwardMessage(
|
|||
}
|
||||
: undefined;
|
||||
|
||||
conversation.enqueueMessageForSend(
|
||||
void conversation.enqueueMessageForSend(
|
||||
{
|
||||
body: undefined,
|
||||
attachments: [],
|
||||
|
@ -99,7 +99,7 @@ export async function maybeForwardMessage(
|
|||
);
|
||||
} else if (contact?.length) {
|
||||
const contactWithHydratedAvatar = await loadContactData(contact);
|
||||
conversation.enqueueMessageForSend(
|
||||
void conversation.enqueueMessageForSend(
|
||||
{
|
||||
body: undefined,
|
||||
attachments: [],
|
||||
|
@ -124,7 +124,7 @@ export async function maybeForwardMessage(
|
|||
)
|
||||
);
|
||||
|
||||
conversation.enqueueMessageForSend(
|
||||
void conversation.enqueueMessageForSend(
|
||||
{
|
||||
body: messageBody || undefined,
|
||||
attachments: attachmentsToSend,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue