Sfoglia il codice sorgente

Fixes blame range

main
Eric Amodio 4 anni fa
parent
commit
4083dbdc0d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/codelens/codeLensProvider.ts

+ 1
- 1
src/codelens/codeLensProvider.ts Vedi File

@ -175,7 +175,7 @@ export class GitCodeLensProvider implements CodeLensProvider {
if (token.isCancellationRequested) return lenses;
const documentRangeFn = Functions.once(() => document.validateRange(new Range(0, 1000000, 1000000, 1000000)));
const documentRangeFn = Functions.once(() => document.validateRange(new Range(0, 0, 1000000, 1000000)));
// Since blame information isn't valid when there are unsaved changes -- update the lenses appropriately
const dirtyCommand: Command | undefined = dirty

Caricamento…
Annulla
Salva