Skip to content

Commit cd99622

Browse files
committed
refactor: - Re-use variable description for readability
1 parent bf5665e commit cd99622

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Renderer/TaskLineRenderer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ export class TaskLineRenderer {
293293
}
294294

295295
private async renderDescription(task: Task, span: HTMLSpanElement, isTaskInQueryFile: boolean) {
296-
const descriptionWithLinksFixed = this.adjustRelativeLinksInDescription(task, isTaskInQueryFile);
297-
let description = GlobalFilter.getInstance().removeAsWordFromDependingOnSettings(descriptionWithLinksFixed);
296+
let description = this.adjustRelativeLinksInDescription(task, isTaskInQueryFile);
297+
description = GlobalFilter.getInstance().removeAsWordFromDependingOnSettings(description);
298298

299299
const { debugSettings } = getSettings();
300300
if (debugSettings.showTaskHiddenData) {

0 commit comments

Comments
 (0)