Closed g12i closed 4 years ago
Merging #24 into main will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## main #24 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 19 20 +1
Lines 390 401 +11
=========================================
+ Hits 390 401 +11
Impacted Files | Coverage Δ | |
---|---|---|
lib/tokenizer/hash.js | 100.00% <ø> (ø) |
|
lib/tokenizer/issue.js | 100.00% <ø> (ø) |
|
lib/index.js | 100.00% <100.00%> (ø) |
|
lib/tokenizer/mention.js | 100.00% <100.00%> (ø) |
|
lib/tokenizer/repo.js | 100.00% <100.00%> (ø) |
|
lib/util/gh.js | 100.00% <100.00%> (ø) |
|
lib/util/resolve-base-url.js | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update eda42e5...d62c381. Read the comment docs.
Hey @wooorm! Sorry for wait, I was on holiday :). I switch to the modern API and removed unnecessary fixtures. Take a look, while I'll work on documentation.
Oh gosh, I forgot about this WIP issue/PR when I rewrote the project. 😓 What do you think about my last comment?
Oh snap! I forgot about this as well :D. I'll try to find some time and open the new PR. It would be easier than resolving conflicts here.
The codebase is significantly easier now, and the changes here are roughly good to go, so applying them to the new code should be possible and easier than merge conflicts!
I don’t have access to enterprise so I don‘t feel comfortable doing most of the work, but I can help you!
Solves #23
I used 2
url
functions, both added in Node.js v0.1.25url.resolve
- safer way to resolve base + pathurl.parse
- see if hostname is present in whateverrepostiory
is set toI had to update all the test cases that mentioned
https://codeload.github.com/
, by the new rules they resolve tohttps://codeload.github.com/