From 9d4ea7df84c83086f44b7ce10151e320e4c9832e Mon Sep 17 00:00:00 2001 From: Chris Lettieri Date: Tue, 6 May 2025 07:44:29 -0400 Subject: [PATCH] fix null file --- src/services/distill-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/distill-service.ts b/src/services/distill-service.ts index b98470d..ffc2d83 100644 --- a/src/services/distill-service.ts +++ b/src/services/distill-service.ts @@ -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); } }