- Extension version: 0.2.0
- VSCode Version: 1.28.1 (3368db6750222d319c851f6d90eb619d886e08f5)
- OS: macOS 10.12.6
Steps to Reproduce:
- Add
github.hosts entry to workspace config
- Open Source Control panel in VSCode
- Expand GitHub Pull Requests pane
- Expand any items in tree
Result: Fetching all pull requests failed: TypeError: Cannot read property 'map' of undefined
Output from extension shows:
Looking for git repository
Git repository found, initializing review manager and pr tree view.
No GitHub remotes found
Found GitHub remote
Review> no matching pull request metadata found for current branch feature/xxxxxxxxxxxxxxxx
GitHubRepository> Fetching all pull requests failed: TypeError: Cannot read property 'map' of undefined
GitHubRepository> Fetching all pull requests failed: TypeError: Cannot read property 'map' of undefined
Workspace settings:
"github.hosts": [
{
"host": "https://git.company-name.com",
"username": "justin-unterreiner",
"token": "xxxxxxxxxxxxxxxxxxxx"
}
]
Additional information:
- Our GitHub instance does not use a self-signed certificate, it is a valid certificate signed by GoDaddy.
- I am able to use the GitLense VSCode extension with our enterprise GitHub instance by setting
gitlens.remotes in the workspace settings
Steps to Reproduce:
github.hostsentry to workspace configResult:
Fetching all pull requests failed: TypeError: Cannot read property 'map' of undefinedOutput from extension shows:
Workspace settings:
Additional information:
gitlens.remotesin the workspace settings