fix: added things around project folder pollution from program runs

This commit is contained in:
2026-05-29 21:45:15 +02:00
parent 3a77761f96
commit 9d5764b251
11 changed files with 122 additions and 23 deletions

View File

@@ -61,7 +61,7 @@ rule RunMetadataDiff {
)
-- Detect orphan files (on disk but not in DB)
for file in scan_directory(project.effective_data_dir + "/posts", "*.md"):
for file in scan_directory(project.public_dir + "/posts", "*.md"):
let matching = Posts where file_path = file
if matching.count = 0:
ensures: OrphanReport.created(file_path: file)