()
| 6 | import onetime from '../helpers/onetime.js'; |
| 7 | |
| 8 | function initOnce(): void { |
| 9 | // This patterns also works on gist.github.com |
| 10 | const origin = isEnterprise() ? location.origin : 'https://github.com'; |
| 11 | const profileLink = new URL(getLoggedInUser()!, origin); |
| 12 | registerHotkey('g m', profileLink.href); |
| 13 | } |
| 14 | |
| 15 | void features.add(import.meta.url, { |
| 16 | shortcuts: { |
nothing calls this directly
no test coverage detected