Sfoglia il codice sorgente

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

main
Eric Amodio 6 anni fa
parent
commit
9f0199efae
2 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. +4
    -0
      CHANGELOG.md
  2. +1
    -1
      src/extension.ts

+ 4
- 0
CHANGELOG.md Vedi File

@ -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 Vedi File

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

Caricamento…
Annulla
Salva