(areas: Set<string>)
| 74 | } |
| 75 | |
| 76 | function section(areas: Set<string>) { |
| 77 | const priority = ["core", "tui", "app", "tauri", "sdk", "plugin", "extensions/vscode", "github"] |
| 78 | for (const area of priority) { |
| 79 | if (areas.has(area)) return sections[area as keyof typeof sections] |
| 80 | } |
| 81 | return "Core" |
| 82 | } |
| 83 | |
| 84 | function type(message: string) { |
| 85 | if (message.match(/fix/i)) return "Bugfixes" |