Browser extension treats profile pages as repo pages
Created by: muratsu
Currently, the bext (browser extension) treats profile pages as repository pages and throws errors when parsing the URL.
Steps to reproduce:
- Install and enable bext (browser extension)
- Navigate to a profile page (example)
Expected behavior:
Bext (browser extension) should enable but not take any further actions
Actual behavior:
The bext (browser extension) tries to parse the github URL to figure out the repo & repo owner and throws an error.
Console error:
Uncaught Error: Could not parse repoName from GitHub url: https://github.com/muratsu
at cf (inject.bundle.js:88278)
at getContext (inject.bundle.js:88278)
at t.project (inject.bundle.js:99158)
at t._next (inject.bundle.js:1)
at t.next (inject.bundle.js:1)
at t.notifyNext (inject.bundle.js:1)
at t._next (inject.bundle.js:1)
at t.next (inject.bundle.js:1)
at inject.bundle.js:1
at ye (inject.bundle.js:1)