Merge branch 'bugfix/7'

This commit is contained in:
Tiara Rodney 2026-03-20 20:48:24 +01:00
commit 90efa2494e
No known key found for this signature in database
GPG key ID: 5CD8EC1D46106723
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@byteb4rb1e/mime-todo",
"version": "0.3.2",
"version": "0.3.3",
"description": "CLI for the MIME TODO issue tracker specification with Bugzilla integration",
"author": "Tiara Rodney <me@tiararodney.com>",
"license": "CC-BY-ND-4.0",

View file

@ -89,7 +89,7 @@ function parseGitLog(range: string, cwd: string): GitCommit[] {
// Check if a commit subject is a todo transition
export function parseTodoTransition(subject: string): { issueId: number; status: string } | null {
const match = subject.match(/^todo\((\d+)\):\s*(\S+)/)
const match = subject.match(/^todo\((\d+)\):\s*([a-z-]+)/)
if (!match) return null
return { issueId: Number(match[1]), status: match[2] }
}