mirror of
https://github.com/bitsofchris/openaugi-obsidian-plugin.git
synced 2026-07-22 05:46:42 +00:00
fix null file
This commit is contained in:
parent
34eb234233
commit
9d4ea7df84
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ export class DistillService {
|
|||
|
||||
if (file instanceof TFile) {
|
||||
// Avoid duplicate files
|
||||
if (!files.some(existingFile => existingFile.path === file.path)) {
|
||||
if (!files.some(existingFile => existingFile.path === file!.path)) {
|
||||
files.push(file);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue