Pārlūkot izejas kodu

Adds more debug logging

main
Eric Amodio pirms 4 gadiem
vecāks
revīzija
c08bbc8b44
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. +4
    -1
      src/annotations/lineAnnotationController.ts

+ 4
- 1
src/annotations/lineAnnotationController.ts Parādīt failu

@ -237,7 +237,10 @@ export class LineAnnotationController implements Disposable {
const commitLines = [
...Iterables.filterMap<number, [number, GitBlameCommit]>(lines, l => {
const state = Container.lineTracker.getState(l);
if (state?.commit == null) return undefined;
if (state?.commit == null) {
Logger.debug(cc, `Line ${l} returned no commit`);
return undefined;
}
return [l, state.commit];
})

Notiek ielāde…
Atcelt
Saglabāt