Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
(cherry picked from commit 3b5f0c8)
  • Loading branch information
hugoalh committed Nov 20, 2024
1 parent ec907ed commit 958e6c1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion _payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const thresholdFiles = 10;
const thresholdUsername = 80;
const regexpGuildedWebhookURL = /^(?:https:\/\/media\.guilded\.gg\/webhooks\/)?(?<key>\d+\/(?:[\dA-Za-z][\dA-Za-z_-]*)?[\dA-Za-z])$/u;
const regexpISO8601 = /^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ$/;
const regexpSnowflake = /^\d+$/;
//deno-lint-ignore default-param-last
export function resolveContent(content: string, contentLinksNoEmbed: string[] = [], truncator?: StringTruncator): string | undefined {
const contentLinksNoEmbedRegExp: RegExp | undefined = (contentLinksNoEmbed.length > 0) ? new RegExp(contentLinksNoEmbed.join("|"), "u") : undefined;
Expand Down

0 comments on commit 958e6c1

Please sign in to comment.