jonschlinkert / parse-github-url

Parse a Github URL into an object. Supports a wide variety of GitHub URL formats.
MIT License
121 stars 21 forks source link

Handle blob and tree being in owner and project name #14

Closed Glavin001 closed 4 months ago

Glavin001 commented 6 years ago

I stumbled upon a problem trying to parse https://github.com/helion3/inspire-tree/issues/183. I discovered the project name containing tree being the problem.

I've added test cases and then implemented a fix.

Thank you for this package!

Fixes #16