Kaynağa Gözat

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

main
Eric Amodio 6 yıl önce
ebeveyn
işleme
9f0199efae
2 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. +4
    -0
      CHANGELOG.md
  2. +1
    -1
      src/extension.ts

+ 4
- 0
CHANGELOG.md Dosyayı Görüntüle

@ -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 Dosyayı Görüntüle

@ -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 {}

Yükleniyor…
İptal
Kaydet