cli
cli copied to clipboard
unable to use locally hosted github installation
The info object has ghepurl property but it never gets populated.
If I override it with our github host details I am able to get authorization tokens -
info.ghepurl = "https://xxx/api/v3";
(note the api endpoint - ../api/v3)
Without overriding this value it sends your creds to github.com (which fails) (it sends to github.com even though the git repo url is pointing to a local github server)
I don't know the design well enough to make suggestions but it appears the code was at least partially designed with this in mind.