Просмотр исходного кода

Fixes #477 - Waits for the git extension to load when getting the git path

main
Eric Amodio 6 лет назад
Родитель
Сommit
9f0199efae
2 измененных файлов: 5 добавлений и 1 удалений
  1. +4
    -0
      CHANGELOG.md
  2. +1
    -1
      src/extension.ts

+ 4
- 0
CHANGELOG.md Просмотреть файл

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
### Fixed
- Fixes [#477](https://github.com/eamodio/vscode-gitlens/issues/477) - Can't load any GitLens features or UI
## [8.5.5] - 2018-08-18
### Added
- Adds *Copy Remote File Url to Clipboard* (`gitlens.copyRemoteFileUrlToClipboard`) command — copies the remote url of the current file and line to the clipboard — closes [#467](https://github.com/eamodio/vscode-gitlens/issues/467)

+ 1
- 1
src/extension.ts Просмотреть файл

@ -57,7 +57,7 @@ export async function activate(context: ExtensionContext) {
try {
const gitExtension = extensions.getExtension('vscode.git');
if (gitExtension !== undefined) {
gitPath = await (gitExtension.exports as GitApi).getGitPath();
gitPath = await ((await gitExtension.activate()) as GitApi).getGitPath();
}
}
catch {}

Загрузка…
Отмена
Сохранить