mirror of
https://github.com/aljazceru/vibeline.git
synced 2026-01-19 06:24:38 +01:00
feat(post-process): skip empty action item files
- Skip creating output files when no action items are found\n- Add informative message when skipping empty files
This commit is contained in:
@@ -96,6 +96,12 @@ def main():
|
||||
|
||||
# Extract and format action items
|
||||
items = extract_action_items(content)
|
||||
|
||||
# Skip if no items found
|
||||
if not items:
|
||||
print(f" No action items found in {action_file.name}")
|
||||
continue
|
||||
|
||||
formatted_content = format_action_items(items, action_file.stem)
|
||||
|
||||
# Save formatted content in TODOs directory
|
||||
|
||||
Reference in New Issue
Block a user