Fixes another off-by-one issue when diffing with caching

Refactored commands and blame annotations
This commit is contained in:
Eric Amodio
2016-09-26 00:55:54 -04:00
parent 23b2c679a9
commit d2d72f0d54
16 changed files with 519 additions and 455 deletions

View File

@@ -72,7 +72,8 @@ export default class GitBlameCodeLensProvider implements CodeLensProvider {
Uri.file(lens.fileName),
lens.commit.sha,
lens.commit.uri,
lens.range.start.line]
lens.range.start.line
]
};
return Promise.resolve(lens);
}
@@ -88,7 +89,8 @@ export default class GitBlameCodeLensProvider implements CodeLensProvider {
lens.commit.uri,
lens.commit.previousSha,
lens.commit.previousUri,
lens.range.start.line]
lens.range.start.line
]
};
return Promise.resolve(lens);
}