瀏覽代碼

Fixes blame range

main
Eric Amodio 4 年之前
父節點
當前提交
4083dbdc0d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/codelens/codeLensProvider.ts

+ 1
- 1
src/codelens/codeLensProvider.ts 查看文件

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

Loading…
取消
儲存