fix(loader): skip missing or empty pack.yaml instead of aborting #82

Closed
opened 2026-05-26 14:41:42 +02:00 by michael · 0 comments
Owner

Problem

When a pack directory exists but has no pack.yaml, fragjan aborts with:

loader: pack not found: /path/to/var/rules/<pack-id>/pack.yaml

This prevents all subsequent checks from running.

Expected behaviour

Fragjan should skip packs without pack.yaml with a warning and continue.
Empty packs (rules: []) should also be skipped silently.

Affected file

  • core/loader.lua
## Problem When a pack directory exists but has no pack.yaml, fragjan aborts with: loader: pack not found: /path/to/var/rules/<pack-id>/pack.yaml This prevents all subsequent checks from running. ## Expected behaviour Fragjan should skip packs without pack.yaml with a warning and continue. Empty packs (rules: []) should also be skipped silently. ## Affected file - core/loader.lua
michael added this to the Basic Version milestone 2026-05-30 16:04:44 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DAW/fragjan#82
No description provided.