mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-08-03 04:03:37 +00:00
normalizeVersion matched /\bv?(\d+\.\d+\.\d+...)/ without the i flag, so a reported version written as "V6.0.4" never parsed. The heading regexes in extractPulseVersion already carry the i flag and did capture "V6.0.4" correctly, but they hand the captured string to normalizeVersion, which then returned null. That collapsed every extraction path -- inline scan, heading match, legacy match, and title fallback -- so the issue was labelled needs-version-info despite stating its version. Adding the i flag to normalizeVersion fixes all four paths at once. It is a no-op on the rest of the pattern, since [0-9A-Za-z.-] already spans both cases. Seen on #1538, which stated "V6.0.4" under the "Pulse version" heading and was wrongly flagged as missing version metadata. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| check-demo-reachability.sh | ||
| issue-version-triage.cjs | ||
| issue-version-triage.test.cjs | ||
| setup-demo-ssh.sh | ||