We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a5f983 commit 0493a15Copy full SHA for 0493a15
src/Obsidian/FileParser.ts
@@ -74,18 +74,19 @@ export function parseFileContent(
74
continue;
75
}
76
77
+ const taskLocation = new TaskLocation(
78
+ tasksFile,
79
+ lineNumber,
80
+ currentSection.position.start.line,
81
+ sectionIndex,
82
+ Cache.getPrecedingHeader(lineNumber, fileCache.headings),
83
+ );
84
if (listItem.task !== undefined) {
85
let task;
86
try {
87
task = Task.fromLine({
88
line,
- taskLocation: new TaskLocation(
- tasksFile,
- lineNumber,
- currentSection.position.start.line,
- sectionIndex,
- Cache.getPrecedingHeader(lineNumber, fileCache.headings),
- ),
89
+ taskLocation: taskLocation,
90
fallbackDate: dateFromFileName.value,
91
});
92
0 commit comments