beads/cmd
coffeegoddd☕️✨ a2db80a247 auto-import: don't print progress message before confirming import needed
The "auto-importing N bytes..." message was printed before
ImportJSONLData checked whether the database was empty. When
auto-export had created issues.jsonl (the default), every subsequent
command printed the message to stderr even though the DB already had
issues and the import was a no-op. Tests using CombinedOutput() saw
the message mixed into their expected output, breaking ID parsing
and JSON deserialization.

Move the message inside the `imported > 0` branch so it only prints
when an import actually occurs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-01 15:24:06 -07:00
..
bd auto-import: don't print progress message before confirming import needed 2026-05-01 15:24:06 -07:00