Преглед изворни кода

Stops clearing broken blame on save

Clears broken blame on close
main
Eric Amodio пре 7 година
родитељ
комит
fc09e3a700
1 измењених фајлова са 2 додато и 2 уклоњено
  1. +2
    -2
      src/gitProvider.ts

+ 2
- 2
src/gitProvider.ts Прегледај датотеку

@ -187,8 +187,8 @@ export default class GitProvider extends Disposable {
const cacheKey = this._getCacheEntryKey(fileName);
if (reason === RemoveCacheReason.DocumentClosed) {
// Don't remove broken blame on close (since otherwise we'll have to run the broken blame again)
if (reason === RemoveCacheReason.DocumentSaved) {
// Don't remove broken blame on save (since otherwise we'll have to run the broken blame again)
const entry = this._gitCache.get(cacheKey);
if (entry && entry.hasErrors) return;
}

Loading…
Откажи
Сачувај