Repository navigation
fix: use getUrlFromOP() for fixes links - #614
Merged
Merged
Conversation
When parsing `fixes` links, use the same code that is used for parsing the `refs` and `PR-URL` links. This avoids the manual URL construction that was inserting bad links into the metadata for the npm update pull requests.
Codecov Report
@@ Coverage Diff @@
## main #614 +/- ##
==========================================
- Coverage 84.10% 84.09% -0.01%
==========================================
Files 37 37
Lines 4051 4049 -2
==========================================
- Hits 3407 3405 -2
Misses 644 644
Continue to review full report at Codecov.
|
richardlau
commented
Mar 19, 2022
ruyadorno
approved these changes
Mar 24, 2022
Member
Author
|
Anyone have any ideas about the coverage drop/failure? Are we able to land with this check failing? FWIW TIL that while with this PR: |
Member
Yes. I'll land. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When parsing
fixeslinks, use the same code that is used for parsingthe
refsandPR-URLlinks. This avoids the manual URL constructionthat was inserting bad links into the metadata for the npm update pull
requests.
Refs: nodejs/node#42382 (comment)
This is an alternative to #612 which also fixes the case in #612 (comment).