Browse Source

Fixes blame range

main
Eric Amodio 4 years ago
parent
commit
4083dbdc0d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/codelens/codeLensProvider.ts

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

@ -175,7 +175,7 @@ export class GitCodeLensProvider implements CodeLensProvider {
if (token.isCancellationRequested) return lenses; 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 // Since blame information isn't valid when there are unsaved changes -- update the lenses appropriately
const dirtyCommand: Command | undefined = dirty const dirtyCommand: Command | undefined = dirty

Loading…
Cancel
Save