fix(#1324): resolve glued phase tokens (#1353)

This commit is contained in:
Tom Boucher
2026-06-16 21:55:58 -04:00
committed by GitHub
parent c4161735dc
commit c53fd1f654
3 changed files with 21 additions and 2 deletions

View File

@@ -174,7 +174,7 @@ function extractPhaseToken(dirName: string): string {
const tokenSegments: string[] = [];
for (let i = 0; i < segments.length; i++) {
const seg = segments[i];
if (/^\d/.test(seg)) {
if (/^\d/.test(seg) || (i === 0 && /^[A-Za-z]{1,3}\d/.test(seg))) {
tokenSegments.push(seg);
} else {
break;