diff --git a/package.json b/package.json index f594184..d8233e7 100644 --- a/package.json +++ b/package.json @@ -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 ", "license": "CC-BY-ND-4.0", diff --git a/src/git.ts b/src/git.ts index aac8220..83ed707 100644 --- a/src/git.ts +++ b/src/git.ts @@ -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] } }