Browse Source

Fixes an issue where close repo command didn't work

main
Eric Amodio 6 years ago
parent
commit
98d7716cc5
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +2
    -0
      src/views/nodes/repositoriesNode.ts

+ 1
- 0
CHANGELOG.md View File

@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed
- Fixes [#528](https://github.com/eamodio/vscode-gitlens/issues/528) — Remotes not showing, being filtred on domain and file, but not complete path
- Fixes an issue where _Close Repository_ command didn't work
## [9.0.1] - 2018-12-02

+ 2
- 0
src/views/nodes/repositoriesNode.ts View File

@ -72,6 +72,8 @@ export class RepositoriesNode extends SubscribeableViewNode {
const children = [];
for (const repo of repositories) {
if (repo.closed) continue;
const normalizedPath = repo.normalizedPath;
const child = (this._children as RepositoryNode[]).find(c => c.repo.normalizedPath === normalizedPath);
if (child !== undefined) {

Loading…
Cancel
Save