diff --git a/.husky/post-merge b/.husky/post-merge index ccbf22c..3094e9a 100755 --- a/.husky/post-merge +++ b/.husky/post-merge @@ -1,6 +1,3 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - #!/usr/bin/env bash # MIT © Sindre Sorhus - sindresorhus.com # https://gist.github.com/sindresorhus/7996717 diff --git a/.husky/pre-push b/.husky/pre-push index ac246e5..e0fa56f 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,2 +1 @@ - npm run validate diff --git a/app/helpers/modLog.ts b/app/helpers/modLog.ts index 1845091..35f6abe 100644 --- a/app/helpers/modLog.ts +++ b/app/helpers/modLog.ts @@ -205,7 +205,7 @@ const constructLog = async ({ lastReport.message.author.username }) warned ${previousWarnings.size + 1} times recently, posted in ${ logs.length - } channels ${formatDistanceToNowStrict(lastReport.message.createdAt)} ago`; + } channels ${formatDistanceToNowStrict(lastReport.message.createdAt)} before this log ()`; const extra = origExtra ? `${origExtra}\n` : ""; // If it has the data for a poll, use a specialized formatting function @@ -217,7 +217,7 @@ const constructLog = async ({ warnings.push( `[${format(logMessage.createdAt, "PP kk:mmX")}](${constructDiscordLink( logMessage, - )}) ()`, + )}) ()`, ); }