Migrate CI/CD from GitHub Actions to Forgejo Actions #1
2 changed files with 6 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ export async function sendDraftOrderNotification({
|
|||
? `Draft Order Manually Set — ${leagueName}`
|
||||
: `Draft Order Randomized — ${leagueName}`;
|
||||
|
||||
const sorted = [...teams].sort((a, b) => a.position - b.position);
|
||||
const sorted = teams.toSorted((a, b) => a.position - b.position);
|
||||
let description = sorted
|
||||
.map((t) => {
|
||||
const teamLabel = escapeMarkdown(t.name);
|
||||
|
|
|
|||
5
oxlint.json
Normal file
5
oxlint.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"rules": {
|
||||
"unicorn/no-array-sort": "error"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue