Pārlūkot izejas kodu

Removes extra container call

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

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

@ -178,8 +178,6 @@ export class LineAnnotationController implements Disposable {
cc.exitDetails = ` ${GlyphChars.Dot} line(s)=${lines.join()}`;
}
const scrollable = Container.config.currentLine.scrollable;
const decorations = [];
for (const l of lines) {
const state = Container.lineTracker.getState(l);
@ -189,7 +187,7 @@ export class LineAnnotationController implements Disposable {
state.commit,
cfg.format,
cfg.dateFormat === null ? Container.config.defaultDateFormat : cfg.dateFormat,
scrollable
cfg.scrollable
) as DecorationOptions;
decoration.range = editor.document.validateRange(
new Range(l, Number.MAX_SAFE_INTEGER, l, Number.MAX_SAFE_INTEGER)

Notiek ielāde…
Atcelt
Saglabāt