| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #1090 +/- ##
==========================================
+ Coverage 64.93% 65.13% +0.20%
==========================================
Files 45 45
Lines 6938 6939 +1
==========================================
+ Hits 4505 4520 +15
+ Misses 2433 2419 -14 ☔ View full report in Codecov by Harness.
|
Sorry, something went wrong.
Signed-off-by: Daijiro Wachi <daijiro.wachi@gmail.com>
| Back | FazBrowse Home | New Git URL |
getAltPrUrl() was only ever returning the first PR-URL entry in a commit message body. The root cause was PR_RE missing the global flag (g), so text.match(PR_RE) returned a single match-result array (full match + capture group) instead of an array of all matching lines.
This follows the existing pattern in the file where FIXES_RE/FIX_RE and REFS_RE/REF_RE are paired as global/non-global variants. Added PRS_RE as the global counterpart and updated getAltPrUrl() to use it.