commit | c634e2bc181a1b41030863ffb0109b2c4f1e3866 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Sat Aug 06 17:50:48 2022 +0100 |
committer | Skyler Grey <skyler3665@gmail.com> | Sat Aug 06 17:50:48 2022 +0100 |
tree | b4e6ae45f9e7f5e88f213e69cd858c125f100e36 | |
parent | 5c4bacccc8b7b2d0a7e67971ad2a5b974fb6af0b [diff] [blame] |
Fix some more eslint & ts errors
diff --git a/src/premium/attachmentLogs.ts b/src/premium/attachmentLogs.ts index 679627d..899cd25 100644 --- a/src/premium/attachmentLogs.ts +++ b/src/premium/attachmentLogs.ts
@@ -22,7 +22,7 @@ size: attachment.size }); } - const links = message.content.match(/https?:\/\/\S+/gi) || []; + const links = message.content.match(/https?:\/\/\S+/gi) ?? []; for (const link of links) { if ( link